SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-06-19 14:06:18

Gordon
#! CrunchBanger
From: Blackpool, Lancashire, UK
Registered: 2012-05-22
Posts: 204

A Question about CTL_ALT_F1 [ SOLVED ]

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 10sec

and 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 ? neutral

Last edited by Gordon (2012-06-20 18:17:05)


Cheers smile smile
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

Be excellent to each other!

#2 2012-06-19 14:16:25

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,201

Re: A Question about CTL_ALT_F1 [ SOLVED ]

try:

sudo shutdown -h now

or

sudo halt
man shutdown

will 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

#3 2012-06-19 14:32:18

Gordon
#! CrunchBanger
From: Blackpool, Lancashire, UK
Registered: 2012-05-22
Posts: 204

Re: A Question about CTL_ALT_F1 [ SOLVED ]

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 ) smile


Cheers smile smile
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

#4 2012-06-19 14:47:40

snowpine
#!-a-roo
Registered: 2008-11-24
Posts: 2,554

Re: A Question about CTL_ALT_F1 [ SOLVED ]

Ctrl+Alt+F7 will get you back to the GUI.


/hugged

Offline

#5 2012-06-19 14:53:35

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,201

Re: A Question about CTL_ALT_F1 [ SOLVED ]

snowpine wrote:

Ctrl+Alt+F7 will get you back to the GUI.

O yes, that would be much easier than shutting down of course.

Gordon wrote:

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

#6 2012-06-20 06:58:17

Gordon
#! CrunchBanger
From: Blackpool, Lancashire, UK
Registered: 2012-05-22
Posts: 204

Re: A Question about CTL_ALT_F1 [ SOLVED ]

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 main

preferences

ackage: *
Pin: release a=waldorf
Pin-Priority: 500

Package: *
Pin: release a=testing
Pin-Priority: 500

Package: *
Pin: release a=sid
Pin-Priority: 100

apt.conf

 APT::Default-Release "testing";

Hope that i have anyway smile


Cheers smile smile
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

#7 2012-06-20 07:49:04

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,201

Re: A Question about CTL_ALT_F1 [ SOLVED ]

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

#8 2012-06-20 12:34:26

PePop
#! Member
Registered: 2012-05-01
Posts: 61

Re: A Question about CTL_ALT_F1 [ SOLVED ]

To shutdown completley try, as root:   

poweroff -i

Last edited by PePop (2012-06-20 12:35:54)

Offline

#9 2012-06-20 14:08:56

Gordon
#! CrunchBanger
From: Blackpool, Lancashire, UK
Registered: 2012-05-22
Posts: 204

Re: A Question about CTL_ALT_F1 [ SOLVED ]

Hi Tunafish,

Thanks for that. Have just made the corrections. A question. Should

#    deb http://www.debian-multimedia.org testing main non-free

that 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 smile


Cheers smile smile
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

#10 2012-06-20 15:14:22

EndlessDissent
#! CrunchBanger
From: Near Chicago
Registered: 2011-05-14
Posts: 126
Website

Re: A Question about CTL_ALT_F1 [ SOLVED ]

Gordon wrote:

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 main

preferences

ackage: *
Pin: release a=waldorf
Pin-Priority: 500

Package: *
Pin: release a=testing
Pin-Priority: 500

Package: *
Pin: release a=sid
Pin-Priority: 100

apt.conf

 APT::Default-Release "testing";

Hope that i have anyway smile


For future reference, in case you add the Debian sid repos eventually, the line in preferences should be

Pin: release a=unstable

I 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.

Gordon wrote:

Hi Tunafish,

Thanks for that. Have just made the corrections. A question. Should

#    deb http://www.debian-multimedia.org testing main non-free

that 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 smile


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

#11 2012-06-20 15:56:48

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,201

Re: A Question about CTL_ALT_F1 [ SOLVED ]

Gordon wrote:

Thanks for that. Have just made the corrections. A question. Should

#    deb http://www.debian-multimedia.org testing main non-free

that 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-free

for 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

#12 2012-06-20 16:05:28

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,201

Re: A Question about CTL_ALT_F1 [ SOLVED ]

EndlessDissent wrote:

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=sid

a stands for archive, n for name


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#13 2012-06-20 16:07:21

EndlessDissent
#! CrunchBanger
From: Near Chicago
Registered: 2011-05-14
Posts: 126
Website

Re: A Question about CTL_ALT_F1 [ SOLVED ]

Tunafish wrote:
EndlessDissent wrote:

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=sid

a stands for archive, n for name

Thanks. I didn't know that. That could definitely come in handy.

Offline

#14 2012-06-20 16:25:40

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,201

Re: A Question about CTL_ALT_F1 [ SOLVED ]

EndlessDissent wrote:

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_preferences

sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#15 2012-06-20 16:34:38

EndlessDissent
#! CrunchBanger
From: Near Chicago
Registered: 2011-05-14
Posts: 126
Website

Re: A Question about CTL_ALT_F1 [ SOLVED ]

Wow. Thanks again. I should spend more time reading wikis and man pages.

Offline

#16 2012-06-20 16:45:18

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,201

Re: A Question about CTL_ALT_F1 [ SOLVED ]

EndlessDissent wrote:

I should spend more time reading wikis and man pages.

Me too smile
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

#17 2012-06-20 18:16:29

Gordon
#! CrunchBanger
From: Blackpool, Lancashire, UK
Registered: 2012-05-22
Posts: 204

Re: A Question about CTL_ALT_F1 [ SOLVED ]

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  smile


Cheers smile smile
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

#18 2012-06-20 19:19:17

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 1,717

Re: A Question about CTL_ALT_F1 [ SOLVED ]

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 tty

Offline

#19 2012-06-20 20:01:00

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,014

Re: A Question about CTL_ALT_F1 [ SOLVED ]

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

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo