You are not logged in.
Hi Folks
I have just out of a problem that I caused myself doing a dist-upgrade. I think I have done something wrong with my sources.list, preferences and apt.conf but that is something else. My question is when you have done a ctl-alt-f1 how do you get out of it ?. exit gets you back to the login screen but how do you shut the system down ? I tried
shutdown
shutdown -ah
shutdown -ahP -t 10secand a couple of others i think but all it ever did was go back and give a list of options nomatter what I tried
What was I doing wrong ? 
Last edited by Gordon (2012-06-20 18:17:05)
Cheers

Gordon
Using Janice Testing at present also sid and systemd
A7N8X delux motherboard, 1 GB ram, AMD ATHLON XP 2800+ ( 2255 Mhz ), Nvidia Geforce PNY 62000 graphics card
Offline
try:
sudo shutdown -h nowor
sudo haltman shutdownwill show the syntax of shutdown arguments
Last edited by Tunafish (2012-06-19 14:21:47)
sed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
Hi Tunafish
I did not try using sudo as I was root and did not think that I need it but I did use the rest of it I think.
Thanks for the reply though. will try it next time I cause myself a problem ( noing me that wont be long off either ) 
Cheers

Gordon
Using Janice Testing at present also sid and systemd
A7N8X delux motherboard, 1 GB ram, AMD ATHLON XP 2800+ ( 2255 Mhz ), Nvidia Geforce PNY 62000 graphics card
Offline
Ctrl+Alt+F7 will get you back to the GUI.
/hugged
Offline
Ctrl+Alt+F7 will get you back to the GUI.
O yes, that would be much easier than shutting down of course.
I did not try using sudo as I was root and did not think that I need it but I did use the rest of it I think.
You're right, when you're root you don't need sudo. You just had to find the right syntax then.
Did you solve the problem with your sources.list ?
Last edited by Tunafish (2012-06-19 14:56:20)
sed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
Hi Tunafish,
Thanks for that. As to my sources.list I'm not a hundred percent certian but think that I have it now. This is how they all look now
sources.list
## Waldorf Wheezy
# deb http://packages.crunchbang.org/waldorf waldorf main
# deb http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
# deb http://security.debian.org/ wheezy/updates main
# deb-src http://packages.crunchbang.org/waldorf waldorf main
# deb-src http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
# deb-src http://security.debian.org/ wheezy/updates main
## Waldorf Testing
deb http://packages.crunchbang.org/waldorf waldorf main
deb http://ftp.uk.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main
# deb http://www.debian-multimedia.org testing main non-free
# deb-src http://cdn.debian.net/debian/ testing main contrib non-free
## Sid
# deb http://www.debian-multimedia.org sid main non-free
deb http://mozilla.debian.net/ experimental iceweasel-auroa
## Liquorix sources added by smxi
deb http://liquorix.net/debian/ sid mainpreferences
ackage: *
Pin: release a=waldorf
Pin-Priority: 500
Package: *
Pin: release a=testing
Pin-Priority: 500
Package: *
Pin: release a=sid
Pin-Priority: 100apt.conf
APT::Default-Release "testing";Hope that i have anyway 
Cheers

Gordon
Using Janice Testing at present also sid and systemd
A7N8X delux motherboard, 1 GB ram, AMD ATHLON XP 2800+ ( 2255 Mhz ), Nvidia Geforce PNY 62000 graphics card
Offline
Well... that looks fine (almost):
deb http://mozilla.debian.net/ experimental iceweasel-auroa
should be
deb http://mozilla.debian.net/ experimental iceweasel-aurora
I'm sure it's just a cut-and-paste thing, but the first P is missing in /etc/apt/preferences.
Your preferences file doesn't do anything (which is not a problem, just want to mention it):
- pin-priority 500 is default
- in apt-conf you already give pin-priority 990 to testing, this will override the value for testing in preferences
- pin-priority to sid doesn't matter as you only use liquorix from sid. Liquorix isn't in debian testing or in waldorf repo.
To see the results of your apt-pinning, look at the output of (e.g.):
apt-cache policy iceweasel
Last edited by Tunafish (2012-06-20 12:56:53)
sed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
To shutdown completley try, as root:
poweroff -iLast edited by PePop (2012-06-20 12:35:54)
Offline
Hi Tunafish,
Thanks for that. Have just made the corrections. A question. Should
# deb http://www.debian-multimedia.org testing main non-freethat statment be uncommented or not ?
Hi PePop
Thanks for that I will also give that a try at some stage
Thanks for the help Folks 
Cheers

Gordon
Using Janice Testing at present also sid and systemd
A7N8X delux motherboard, 1 GB ram, AMD ATHLON XP 2800+ ( 2255 Mhz ), Nvidia Geforce PNY 62000 graphics card
Offline
Hi Tunafish,
Thanks for that. As to my sources.list I'm not a hundred percent certian but think that I have it now. This is how they all look now
sources.list
## Waldorf Wheezy # deb http://packages.crunchbang.org/waldorf waldorf main # deb http://ftp.uk.debian.org/debian/ wheezy main contrib non-free # deb http://security.debian.org/ wheezy/updates main # deb-src http://packages.crunchbang.org/waldorf waldorf main # deb-src http://ftp.uk.debian.org/debian/ wheezy main contrib non-free # deb-src http://security.debian.org/ wheezy/updates main ## Waldorf Testing deb http://packages.crunchbang.org/waldorf waldorf main deb http://ftp.uk.debian.org/debian/ testing main contrib non-free deb http://security.debian.org/ testing/updates main # deb http://www.debian-multimedia.org testing main non-free # deb-src http://cdn.debian.net/debian/ testing main contrib non-free ## Sid # deb http://www.debian-multimedia.org sid main non-free deb http://mozilla.debian.net/ experimental iceweasel-auroa ## Liquorix sources added by smxi deb http://liquorix.net/debian/ sid mainpreferences
ackage: * Pin: release a=waldorf Pin-Priority: 500 Package: * Pin: release a=testing Pin-Priority: 500 Package: * Pin: release a=sid Pin-Priority: 100apt.conf
APT::Default-Release "testing";Hope that i have anyway
For future reference, in case you add the Debian sid repos eventually, the line in preferences should be
Pin: release a=unstableI used sid in that line when I originally edited the preferences, and it still pulled all the unstable updates. Changing it to unstable instead fixed it.
Hi Tunafish,
Thanks for that. Have just made the corrections. A question. Should
# deb http://www.debian-multimedia.org testing main non-freethat statment be uncommented or not ?
Hi PePop
Thanks for that I will also give that a try at some stage
Thanks for the help Folks
Depends. If you want to take advantage of that repo (I'd recommend it for the fully-loaded VLC and extra codec support), uncomment it and update apt. Also, you need to change the address to deb-multimedia.org. They changed the name because of a conflict with the Debian project, with which they aren't officially associated.
Last edited by EndlessDissent (2012-06-20 15:18:57)
Offline
Thanks for that. Have just made the corrections. A question. Should
# deb http://www.debian-multimedia.org testing main non-freethat statment be uncommented or not ?
There is no 'should' here.
It depends if you want to use debian multimedia repo or not.
Multimedia repo has some more programs and newer versions.
If you want to use debian-multimedia, you should use:
deb http://www.deb-multimedia.org testing main non-freefor some reason they changed to deb-multimedia.org, have a look here: http://deb-multimedia.org/
Edit: Ouch, I forgot to press Submit, so the question was already answered by EndlessDissent.
Last edited by Tunafish (2012-06-20 15:58:07)
sed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
For future reference, in case you add the Debian sid repos eventually, the line in preferences should be
Pin: release a=unstable
Or depending on what you use in sources.list:
Pin: release n=sida stands for archive, n for name
sed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
EndlessDissent wrote:For future reference, in case you add the Debian sid repos eventually, the line in preferences should be
Pin: release a=unstableOr depending on what you use in sources.list:
Pin: release n=sida stands for archive, n for name
Thanks. I didn't know that. That could definitely come in handy.
Offline
Thanks. I didn't know that. That could definitely come in handy.
You're welcome.
There's a separate man page for apt preferences:
man apt_preferencessed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
Wow. Thanks again. I should spend more time reading wikis and man pages.
Offline
I should spend more time reading wikis and man pages.
Me too 
It helps if someone puts you in the right direction. That's what these forums are for.
sed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
Thanks for that Tunafish. I have corrected my sources.list and uncommented the multimedia line.
I do read the man pages but I get very confused by them not being a program writer, sometimes I get it right though.
Thanks EndlessDissent. I'm not sure about switching to sid as I get in enough trouble with testing or waldorf. I keep trying things out and messing up my system but so far I have managed to get out of some of them myself but the majority with the help of the forum for which I am truly gratefull.
Cheers folks I'll mark this solved now. again Cheers 
Cheers

Gordon
Using Janice Testing at present also sid and systemd
A7N8X delux motherboard, 1 GB ram, AMD ATHLON XP 2800+ ( 2255 Mhz ), Nvidia Geforce PNY 62000 graphics card
Offline
On a side note too, any time you're not sure what man page to dig through, you can search the contents of all man pages installed on your system with the apropos command. For example, if you wanted a list of all man pages containing information about your TTY terminals, you could enter
apropos ttyOffline
Oh, so *that*'s how apropos works; I thought it checked the APT cache.
while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.