SEARCH

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

You are not logged in.

#1 2013-04-05 16:17:13

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

[SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

hello #! people --

i just performed my third install of #! [Waldorf], this time on a *really* old Dell Inspirion 1100 [1 GB RAM, Celeron 2.6Ghz, 20 GB HD -- yes it's that machine i posted about a while back]...  i tried installing from a live USB stick, that didn't work...  i tried installing from a live disc, that didn't work...  then, in a blinding flash of inspiration, i tried installing from the live USB stick again, only with the disc in the bay [precisely the same image on both the stick and the disc, by the way]...  that worked...  sort of...

in any case, i got through the text installer [the graphical installer just wasn't happening]...  it went mostly right, and i eventually got to a desktop, got the PCMCIA Wifi card enabled and connected to the home network...

then the problems began...  my regular user wasn't in the sudoers list, so i couldn't sudo anything...   i managed to work my way through that one, got it handled...  likewise a number of other small difficulties, like the screen resolution, et cetera...  did this stuff without bothering you guys, just for the record...   wink

however, i've bumped up against a wall i can't break through nor climb over...  i can't seem to run the cb-welcome script, nor add any software from the main menu [e.g., Chrome, LibreOffice], nor "sudo apt-get install" anything [such as the little utilities and extras i use on a regular basis like nload, cmatrix, wireshark, et al.] -- i'm thinking something went wrong during the installation...

i offer, for your consideration:

anonymous@debian:~$ cb-welcome
Error: must be a member of the sudo group to run this script.
anonymous@debian:~$ sudo cb-welcome
[sudo] password for anonymous: 
mkdir: cannot create directory `/home/root/.config/crunchbang': No such file or directory
touch: cannot touch `/home/root/.config/crunchbang/cb-welcome': No such file or directory
Error: must be a member of the sudo group to run this script.
anonymous@debian:~$ 

even though i added anonymous to the sudoers list through visudo, i'm still getting a weird message there...  then i give the sudo password and it bugs out on me...

likewise, when i try to manually install a package, here's what happens:

anonymous@debian:~$ sudo apt-get install nload
[sudo] password for anonymous: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package nload
anonymous@debian:~$ 

hmm, just noticed that:  "anonymous@debian" bit -- on my other machines, it's "anonymous@anonymous" which is what i was shooting for here, as well...  i'm not sure if that's part of the problem or not...

anyway, when i try to install Google Chrome or LibreOffice, it opens a little terminal-like window, asks me to verify, which i do...  it says "adding APT key" and then prompts me for the sudo password...  i give it and it says "updating APT sources..."  then it does what looks like installing stuff, but suddenly terminates and says "there was a problem, quitting now..."

when i executed "sudo apt-get update && sudo apt-get upgrade" it ***acted***  like it was doing what i've come to expect it to do, but at the end it doesn't seem to have done anything...  like this:

anonymous@debian:~$ sudo apt-get install nload
[sudo] password for anonymous: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package nload
anonymous@debian:~$ clear
anonymous@debian:~$ sudo apt-get update && sudo apt-get upgrade
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06] wheezy InRelease
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06] wheezy Release.gpg
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06] wheezy Release
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06] wheezy/contrib i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06] wheezy/main i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06] wheezy/non-free i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06] wheezy/contrib Translation-en_US
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06] wheezy/contrib Translation-en
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06] wheezy/main Translation-en_US
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06] wheezy/main Translation-en
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06] wheezy/non-free Translation-en_US
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06] wheezy/non-free Translation-en
Ign http://dl.google.com stable InRelease                            
Hit http://dl.google.com stable Release.gpg                          
Hit http://security.debian.org wheezy/updates InRelease
Hit http://dl.google.com stable Release
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://security.debian.org wheezy/updates/contrib Sources
Hit http://dl.google.com stable/main i386 Packages
Hit http://security.debian.org wheezy/updates/non-free Sources
Hit http://security.debian.org wheezy/updates/main i386 Packages
Hit http://security.debian.org wheezy/updates/contrib i386 Packages
Hit http://security.debian.org wheezy/updates/non-free i386 Packages
Ign http://security.debian.org wheezy/updates/contrib Translation-en_US
Ign http://security.debian.org wheezy/updates/contrib Translation-en
Ign http://dl.google.com stable/main Translation-en_US
Ign http://security.debian.org wheezy/updates/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://security.debian.org wheezy/updates/main Translation-en
Ign http://security.debian.org wheezy/updates/non-free Translation-en_US
Ign http://security.debian.org wheezy/updates/non-free Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
anonymous@debian:~$ 

that's what it did the first time i executed that command, and each time thereafter...  i've grown accustomed to seeing some stuff get updated and/or upgraded everytime i execute that command string, which is usually daily on my other machines...

that's pretty much all i've got to work with...  anybody have any ideas what went wrong...?  and, more importantly, what i can do to fix it...?

as well as being able to add packages, i'd also like to get that "anonymous@debian" changed to "anonymous@anonymous" if anyone can help me out with that...

i'm awfully confused -- i was under the impression that i was getting a pretty fair grip on the whole #! thing, but this went utterly wonky...

thank you, in advance for any help with these issues...

peace --

-- khs

Last edited by kevin_scribner (2013-04-05 21:16:33)


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

Be excellent to each other!

#2 2013-04-05 17:32:55

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

I suspect there is no problem.
The last update && dist-upgrade went well, only there was nothing to upgrade.
Your system seems to be up-to-date.

The package 'nload' not being found was probably because you had not run update before.
Try it again and it should work now.

You are able to use sudo, so I suspect you are member of the 'sudo' group.

Edit  /etc/hostname  as root to permanently change your hostname.
run the command

sudo hostname

and edit /etc/hosts as well - replace the old hostname by the new one.

If your prompt has not changed, log out and back in to make it effective.

Offline

#3 2013-04-05 18:01:10

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

hey there --

xaos52, there is a problem, sadly...  thanks for chiming in...

the last update / upgrade yielded *exactly* the same output as the first one did...  which is what got me wondering...  usually, the first time i've done the update / upgrade, it's taken a while and done a lot... 

nload and cmatrix still won't install, as they are not found...  i'd tried that before and after the update / upgrade -- same results...

i'm on the sudoers list *now*, because i went in and manually put both anonymous and debian in there with visudo...  but trying to install Chrome and LibreOffice from the main menu still generates a weird message about not being on the sudoers list...

it's looking like i might want to start over and re-install #!, a little more carefully and attentively this time...  another issue i noticed since i posted is that the swap partition was set to only 816 MB, whereas on my other two installs on a 1 GB RAM machine it was set to 2 GB...  this machine will probably need swap more than the other two do, so i'll try to address that when i re-install, too...

thanks for the heads-up about the hostname thing...  i'll see if i can get that straightened out while i wait a bit to see what other posts might get made before i wipe the whole thing and try again...

[a few minutes later...]

got the host thing resolved, and removed the debian entry from sudoers -- thanks for the help there...  everything else is still the same...  unless a solution comes clear in a little while, i'll re-install and see if i just didn't make some sort of mistake during the installation process...  the first two installs i did worked perfectly, so if there's a problem, it was probably me...

thanks again --

-- khs


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

#4 2013-04-05 18:08:44

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

heya --

i forgot to add this to the original post, what happens when i try to run either:

cb-welcome

or

cb-welcome --firstrun

either with or without sudo, or from root after "su -"

anonymous@anonymous:~$ sudo cb-welcome --firstrun
[sudo] password for anonymous: 
mkdir: cannot create directory `/home/root/.config/crunchbang': No such file or directory
touch: cannot touch `/home/root/.config/crunchbang/cb-welcome': No such file or directory
anonymous@anonymous:~$ 

maybe that will shed some light on things...?

peace --

-- khs

Last edited by kevin_scribner (2013-04-05 19:05:43)


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

#5 2013-04-05 18:20:37

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

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

Why is it trying to write to /home/root instead of your username, I wonder?

Last edited by snowpine (2013-04-05 18:21:52)


/hugged

Offline

#6 2013-04-05 18:25:43

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

cb-welcome should be run as your normal user, not with sudo nor with su.

Post your sources.list, will you. It isn't normal that the 'cdrom' sources are still active:

sudo cat /etc/apt/sources.list 

Last edited by xaos52 (2013-04-05 18:28:08)

Offline

#7 2013-04-05 18:28:37

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

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

By the way, what is your

cat /etc/apt/sources.list

I don't see "main" repo in your apt-get update. Looks like it's trying to install stuff from the CD-ROM.

Last edited by snowpine (2013-04-05 18:29:46)


/hugged

Offline

#8 2013-04-05 18:32:28

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

Check your /etc/apt/sources.file to make sure you are able to use internet repos, as it seems to only be looking for debs on cdrom.


Linux since 1999
Currently:  AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/

Offline

#9 2013-04-05 19:11:40

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

hey there --

it looks as though the three of you are all of the same opinion as to the source of the trouble...  this strikes me as a good thing...

as i said before, when i installed, i ended up having to use the text installer from the USB stick, but had to keep the disc in the bay -- that was the *only* way i could get it to work...  while i was waiting on reposts, i ended up going back and doing a complete re-install...  had to do it the same way, with all the same results [only this time i noticed where the "debian" hostname came from and fixed that...  so, on my renewed #! install, all the issues are the same as they were before...

as you'd requested, i offer for your consideration:

anonymous@anonymous:~$ sudo cat /etc/apt/sources.list
[sudo] password for anonymous: 
# 

# deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06]/ wheezy contrib main non-free

deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot i386 LIVE/INSTALL Binary 20130119-13:06]/ wheezy contrib main non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
anonymous@anonymous:~$ 

hopefully this will cast some light on the source of the problem and a possible solution, as i am getting rather frustrated at this point, and the hardware in question is getting justifiably nervous...

devil

thank you for your assistance...

peace --

-- khs


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

#10 2013-04-05 19:16:16

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

oh, and i manually added "anonymous" to the sudo group -- i don't know why it wasn't already there [there were no users in the group at all], which seems to have solved that small set of problems, anyway...


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

#11 2013-04-05 19:17:30

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

Replace the complete content of your /etc/apt/sources.list by this:

## CRUNCHBANG
## Compatible with Debian Wheezy, but use at your own risk.
deb http://packages.crunchbanglinux.org/statler statler main
# deb-src http://packages.crunchbanglinux.org/statler statler main

## DEBIAN
deb http://http.debian.net/debian squeeze main contrib non-free
deb-src http://http.debian.net/debian squeeze main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ squeeze/updates main contrib non-free
# deb-src http://security.debian.org/ squeeze/updates main contrib non-free

Then run

sudo apt-get update && sudo apt-get dist-upgrade

After that you should be able to install packages again.

Last edited by xaos52 (2013-04-05 19:26:13)

Offline

#12 2013-04-05 19:30:14

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

hey --

xaos53:  i did as directed, and voila!

so, i got:

anonymous@anonymous:~$ sudo apt-get update && sudo apt-get upgrade
[sudo] password for anonymous: 
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg                                    
Hit http://dl.google.com stable Release                                        
Hit http://security.debian.org wheezy/updates InRelease                        
Hit http://dl.google.com stable/main i386 Packages                             
Hit http://security.debian.org wheezy/updates/main i386 Packages               
Hit http://security.debian.org wheezy/updates/contrib i386 Packages            
Hit http://security.debian.org wheezy/updates/non-free i386 Packages           
Get:1 http://http.debian.net wheezy InRelease [224 kB]                         
Get:2 http://http.debian.net wheezy/main Sources [5,990 kB]                    
Get:3 http://http.debian.net wheezy/non-free i386 Packages [77.5 kB]           
Get:4 http://http.debian.net wheezy/contrib Sources [47.8 kB]                  
Get:5 http://http.debian.net wheezy/non-free Sources [93.4 kB]                 
Get:6 http://http.debian.net wheezy/contrib Translation-en [34.8 kB]           
Get:7 http://http.debian.net wheezy/main i386 Packages [5,867 kB]              
Err http://packages.crunchbang.org waldorf InRelease                           
  
Err http://packages.crunchbang.org waldorf Release.gpg                         
  Could not resolve 'packages.crunchbang.org'
Get:8 http://http.debian.net wheezy/contrib i386 Packages [42.3 kB]                                                           
Ign http://dl.google.com stable/main Translation-en_US                                                                        
Ign http://dl.google.com stable/main Translation-en                   
Ign http://security.debian.org wheezy/updates/contrib Translation-en_US
Ign http://security.debian.org wheezy/updates/contrib Translation-en
Ign http://security.debian.org wheezy/updates/main Translation-en_US
Ign http://security.debian.org wheezy/updates/main Translation-en
Ign http://security.debian.org wheezy/updates/non-free Translation-en_US
Ign http://security.debian.org wheezy/updates/non-free Translation-en
Get:9 http://http.debian.net wheezy/non-free Translation-en [66.0 kB]
Err http://http.debian.net wheezy/main Translation-en          
  
Err http://http.debian.net wheezy/main Translation-en          
  
Err http://http.debian.net wheezy/main Translation-en  
  
Err http://http.debian.net wheezy/main Translation-en                                                                         
  404  Not Found
Fetched 12.4 MB in 2min 20s (88.5 kB/s)                                                                                       
Reading package lists... Done
W: Failed to fetch http://packages.crunchbang.org/waldorf/dists/waldorf/InRelease  

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/http.debian.net_debian_dists_wheezy_main_source_Sources  Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/http.debian.net_debian_dists_wheezy_main_binary-i386_Packages  Hash Sum mismatch

W: Failed to fetch http://http.debian.net/debian/dists/wheezy/main/i18n/Translation-en  404  Not Found

W: Failed to fetch http://packages.crunchbang.org/waldorf/dists/waldorf/Release.gpg  Could not resolve 'packages.crunchbang.org'

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  intel-microcode
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 428 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://http.debian.net/debian/ wheezy/non-free intel-microcode i386 1.20130222.1 [428 kB]
Fetched 428 kB in 2s (195 kB/s)          
(Reading database ... 91882 files and directories currently installed.)
Preparing to replace intel-microcode 1.20120606.v2.2 (using .../intel-microcode_1.20130222.1_i386.deb) ...
Unpacking replacement intel-microcode ...
Setting up intel-microcode (1.20130222.1) ...
Using per-core interface to update microcode on online processors...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-4-486
anonymous@anonymous:~$ 

which is much more in line with what i was expecting...  thanks a million...!!!

now, to check the other issues...

peace --

--khs


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

#13 2013-04-05 19:33:17

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

hello, again --

damn...   sad

anonymous@anonymous:~$ sudo apt-get install nload
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package nload
anonymous@anonymous:~$ sudo apt-get install cmatrix
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package cmatrix
anonymous@anonymous:~$ sudo apt-get install qbittorrent
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package qbittorrent
anonymous@anonymous:~$ sudo apt-get install rkhunter
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package rkhunter
anonymous@anonymous:~$ sudo apt-get install bleachbit
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package bleachbit
anonymous@anonymous:~$ 

still trying to get at the root of this problem...  any further ideas...?

thanks --

-- khs


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

#14 2013-04-05 19:41:12

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

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

I think xaos52 has mistakenly posted the sources.list for Statler, not Waldorf. smile


/hugged

Offline

#15 2013-04-05 19:46:09

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

uh-oh...

is that a problem for me...?


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

#16 2013-04-05 19:50:36

erghiez
Member
Registered: 2009-01-08
Posts: 25

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

@snowpine: xaos posted statler sources because kevin posted on help & support (stable)?

@kevin: i think issue is still with your sources. you got this during update.

Err http://http.debian.net wheezy/main Translation-en                                                                         
  404  Not Found

try changing your source from "http://http.debian.net" to "http://ftp.debian.org"

Offline

#17 2013-04-05 20:00:35

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

hello --

okay...  i didn't realize that #! 11, which i think is Waldorf, is not the "stable" version, nor that i was posting in the wrong area...  sorry, really...

i just got Chrome installed from the main menu, am about to try to get LibreOffice from the main menu...  so, thank you, xaos52 -- your solution fixed that, too...

now, erghiez -- what do i want to change, and where...?

and, how can i transmogrify xaos52's solution to be relevant to Waldorf, if anyone could point me at that...

and, apparently, simply adding "anonymous" to the sudo group didn't fix the problem after all, because when i tried to run cb-welcome i got that message about having to be a member of the sudo group again...

i'm really glad i didn't have these difficulties when i installed Waldorf on the first two machines -- i never would've stuck it out...  but since i know there's a piece of cheese at the end of this maze *somewhere*, i'll give it a while before i just cave in and install Wary Puppy on this old piece of junk...

peace --

-- khs


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

#18 2013-04-05 20:15:19

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

umm --

xaos52:  i just realized that after i changed the sources to the text you provided, you told me to:

sudo apt-get update && sudo apt-get dist-upgrade

but, not paying close attention, what i actually did was:

sudo apt-get update && sudo apt-get upgrade

i wonder if i gummed anything up that way...?  or, would "upgrading" my dist from Waldorf to Statler have made things worse than they already are...?

maybe this machine would work better with Statler than with Waldorf, do you guys think...?

peace --

-- khs


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

#19 2013-04-05 20:16:33

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

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

Everything in Statler is a downgrade (not an upgrade) from Waldorf, so changing your sources from wheezy to squeeze and then updating (or dist-upgrading) won't accomplish much. smile


/hugged

Offline

#20 2013-04-05 20:29:00

erghiez
Member
Registered: 2009-01-08
Posts: 25

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

If I remember correctly, there was discussion on http://http.debian.net not being reliable mirror or something like that. So try changing your sources list from

## DEBIAN
    ## CRUNCHBANG
    ## Compatible with Debian Wheezy, but use at your own risk.
    deb http://packages.crunchbang.org/waldorf waldorf main
    #deb-src http://packages.crunchbang.org/waldorf waldorf main
     
    ## DEBIAN
    deb http://http.debian.net/debian wheezy main contrib non-free
    #deb-src http://http.debian.org/debian wheezy main contrib non-free
     
    ## DEBIAN SECURITY
    deb http://security.debian.org/ wheezy/updates main
    #deb-src http://security.debian.org/ wheezy/updates main

to this

    ## CRUNCHBANG
    ## Compatible with Debian Wheezy, but use at your own risk.
    deb http://packages.crunchbang.org/waldorf waldorf main
    #deb-src http://packages.crunchbang.org/waldorf waldorf main
     
    ## DEBIAN
    deb http://ftp.debian.org/debian wheezy main contrib non-free
    #deb-src http://ftp.debian.org/debian wheezy main contrib non-free
     
    ## DEBIAN SECURITY
    deb http://security.debian.org/ wheezy/updates main
    #deb-src http://security.debian.org/ wheezy/updates main

edit: posting the whole sources.list to avoid confusion. I don't have waldorf/wheezy installed, so I get this from sources.list http://pastebin.com/iFi7HG2U

Last edited by erghiez (2013-04-05 20:35:08)

Offline

#21 2013-04-05 21:18:57

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

heya --

thanks for all of your help, but my frustration level peaked off on this one and i simply burned a Statler disc and am most of the way through the cb-welcome script, now...

problem solved, everything seems to be working perfectly...

in the future, i'll know to keep my Waldorf questions out of this forum...  sorry about that...

peace --


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

#22 2013-04-05 21:22:11

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

oh, one last question --

on a [mostly] daily basis, i perform a

sudo apt-get update && sudo apt-get upgrade

but i'm wondering, after something that came out in this thread, if i should instead be running a

sudo apt-get update && sudo apt-get dist-upgrade

instead...?

what is the difference between the two...?  which is appropriate to keep my system as up to date as possible...?

thanks, as always --

-- khs


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

#23 2013-04-05 22:12:50

kevin_scribner
#! CrunchBanger
From: Boston, Ma USA
Registered: 2013-02-26
Posts: 103

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

hey there --

just an update, Statler is "just working" on that Dell, no problems at all...  thanks to everyone who chipped in, deeply appreciated, all the way around...

peace --

-- khs


> while :
> do if windows sucks then mv windows /dev/null;
> apt-get install crunchbang; fi;
> done

Offline

#24 2013-04-05 23:35:53

ew
#! Die Hard
Registered: 2012-09-27
Posts: 1,975

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

kevin_scribner wrote:

oh, one last question --

on a [mostly] daily basis, i perform a

sudo apt-get update && sudo apt-get upgrade

but i'm wondering, after something that came out in this thread, if i should instead be running a

sudo apt-get update && sudo apt-get dist-upgrade

instead...?

what is the difference between the two...?  which is appropriate to keep my system as up to date as possible...?

thanks, as always --

-- khs

I would say that dist-upgrade is the better option if you are running
the original sources with the original pinning. If you add experimental/testing sources,
then you should use dist-upgrade with care. But the opinons will probably be divided on this issue.

From apt-get manual:

   upgrade
       upgrade is used to install the newest versions of all packages
       currently installed on the system from the sources enumerated in
       /etc/apt/sources.list. Packages currently installed with new
       versions available are retrieved and upgraded; under no
       circumstances are currently installed packages removed, or packages
       not already installed retrieved and installed. New versions of
       currently installed packages that cannot be upgraded without
       changing the install status of another package will be left at
       their current version. An update must be performed first so that
       apt-get knows that new versions of packages are available.

   dist-upgrade
       dist-upgrade in addition to performing the function of upgrade,
       also intelligently handles changing dependencies with new versions
       of packages; apt-get has a "smart" conflict resolution system, and
       it will attempt to upgrade the most important packages at the
       expense of less important ones if necessary. So, dist-upgrade
       command may remove some packages. The /etc/apt/sources.list file
       contains a list of locations from which to retrieve desired package
       files. See also apt_preferences(5) for a mechanism for overriding
       the general settings for individual packages.


- apt-mark hold account

Offline

Help fund CrunchBang, donate to the project!

#25 2013-04-06 05:00:44

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 3,030
Website

Re: [SOLVED] cannot apt-get nor run cb-welcome, nor add programs from menu

kevin_scribner wrote:

in the future, i'll know to keep my Waldorf questions out of this forum...  sorry about that...

This issue came up a few days ago in another thread. The #! download page now offers Waldorf by default so it's quite reasonable to assume that that's the "Stable" release. OTOH Debian "stable" is still Squeeze - #! Statler. If the Stable support forum became for Waldorf, where would Statler questions go? Maybe a mod could give us some guidance here?


John
--------------------
( a boring Japan blog , idle twitterings  and GitStuff )
#! forum moderator

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