I'm afraid the error message re-appeared
The full installation output is here http://crunchbanglinux.org/pastebin/1590
Yep, the PC lost lost it's wifi connection in the middle of downloading but I ran the command again and it continued...
hmm, this upgraded packages from backports to 'testing' repo.
Perhaps you had better migrate everything then:
sudo apt-get dist-upgrade -s
This is a simulation of the upgrade. It is not upgrading anything. Can you post the output of that.
If it is OK, you can then do the migration for real.
BTW: was it your intention of migrating to testing? Perhaps you tried that before and it broke somehow, which caused your problems?
erm.... backports/testing.... I have been known to dabble in things I don't really understand in efforts to resolve problems and this looks like one of those occasions.... I'm not "entirely" sure when I'd have added that repo to my list...
I recently had an EXT2 disk failure and was trying everything, including updating fsck to the latest and greatest version fsck 1.42 (29-Nov-2011)
This may have been the reason ???
However, I'm happy to move on (upgrade/migrate everything) and go back to stable only repo's...
Here's the output of the simulated upgrade - I guess I've done some bad stuff
user@crunchbang:~$ sudo apt-get dist-upgrade -s Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Failed The following packages have unmet dependencies: libgnome-keyring0 : Breaks: gnome-keyring (< 3.0) but 2.30.3-5 is to be installed network-manager : Breaks: network-manager-gnome (< 0.9) but 0.8.4-2~bpo60+1 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. user@crunchbang:~$
Any advice gratefully received !
(or feel free to cut me loose for being a crazy fool and breaking this myself !)
Before we do anything else, I think we better make sure that you have network connectivity without using Network Manager. We will switch to ifupdown in stead.
How do you connect now? wired or wireless? Using network-manager I presume? Or do you use wicd?
Post output of
ps aux|grep -Ei 'network|wicd'
Not cutting you loose, but if you want to keep using #! you had better read up package repositories, apt-pinning, etc...
PS: I will be unavailable for a couple of hours, starting... now.
Last edited by xaos52 (2012-04-12 17:03:36)
I have to connect via wireless to get "out" of the office - wired requires proxy u/n and p/w access and whilst I could add these in a browser, I could find no simple way to do the same for the rest of the "system" (eg apt)
output from ps command:
user@crunchbang:~$ ps aux|grep -Ei 'network|wicd' root 1022 0.0 0.4 16916 2060 ? Ssl Apr12 0:09 /usr/sbin/NetworkManager root 16391 0.0 0.1 2532 700 ? S 10:43 0:00 /sbin/dhclient -d -4 -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf /var/run/dhclient-wlan0.pid -lf /var/lib/dhcp/dhclient-6502b4e1-783a-4244-b733-b9482023ce58-wlan0.lease -cf /var/run/nm-dhclient-wlan0.conf wlan0 user 16545 0.0 0.1 3504 764 pts/0 S+ 10:48 0:00 grep -Ei network|wicd user@crunchbang:~$
I'm searching the crunchbang site for repository info (apt-pinning is a new term for me)
Last edited by stevewalsh (2012-04-13 11:15:32)
OK. wireless will do.
Use this link to use ifupdown to manage your networking in stead of network manager: http://crunchbanglinux.org/forums/post/171244/#p171244
Do not configure for roaming yet.
If you have connectivity under X, check if it also works without X:
(1) Ctrl+Alt+F2 to switch to console 2
(3) Stop X:
sudo service gdm stop
(4) Test if you have connectivity: e.g. run
sudo apt-get update
(5) If you have no connectivity, try:
sudo ifdown wlan0 && sudo ifup wlan0 sudo apt-get update
(6) Uninstall the packages that prevent upgrading:
sudo apt-get remove network-manager network-manager-gnome gnome-keyring
(7) Start X again
sudo service gdm start
sudo apt-get dist-upgrade -s
and post output of the last command in the forum.
Last edited by xaos52 (2012-04-13 13:30:23)
Apologies for the "small" delay - I've had a small medical issue preventing me from traveling into the office...
So anyhow, I'm here today and have followed the last instruction...
I've pasted the results here :
Further advice gratefully received (to my untrained eye, everything seems ok - I saw no errors)
Hi again, I've "successfully" run the "apt-get dist-upgrade" command and after rebooting applications have stopped working...
I noticed when I printed a file to PDF (using the built-in pdf printer).
I tried to open the PDF and evince has gone, it tried to use ImageMagick...
I transferred the PDF to another PC and it turns out it was an empty/blank PDF anyway.
So I looked at the printers and when choosing to look at the properties there was an error about "printer resolution" not being recognised...
So back on the command line, I thought I'd try to install evince to look at the PDF, here was the result...
user@crunchbang:~$ sudo apt-get install evince [sudo] password for user: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: evince : Depends: libcairo-gobject2 (>= 1.10.0) but it is not going to be installed Depends: libcairo2 (>= 1.10.0) but 1.8.10-6 is to be installed Depends: libevdocument3-4 (= 3.4.0-2+b1) but it is not going to be installed Depends: libevview3-3 (= 3.4.0-2+b1) but it is not going to be installed Depends: libgail-3-0 (>= 3.0.0) but it is not going to be installed Depends: libgtk-3-0 (>= 3.0.2) but it is not going to be installed Depends: libnautilus-extension1a (>= 2.91) but it is not going to be installed E: Unable to correct problems, you have held broken packages. user@crunchbang:~$
So I thought I'd try an upgrade to see if this resolved the problems, unlikely but what did I have to lose ?
user@crunchbang:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: abiword abiword-plugin-grammar abiword-plugin-mathview file-roller gcalctool gnome-bluetooth gnome-icon-theme gnome-user-guide gstreamer0.10-plugins-good iceweasel iceweasel-l10n-en-gb libcairomm-1.0-1 libgimp2.0 libgl1-mesa-dri policykit-1-gnome poppler-utils software-properties-gtk yelp zenity The following packages will be upgraded: yacy 1 upgraded, 0 newly installed, 0 to remove and 19 not upgraded. Need to get 33.0 MB of archives. After this operation, 1,024 B of additional disk space will be used. Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated! yacy Install these packages without verification [y/N]? n Abort user@crunchbang:~$
So looking at this new list of "kept back" applications I knew I could manage without abiword so I thought I'd try a remove....
So there appear to be quite a few things which "need" to be removed ?
I thought when I ran the apt-get dist-upgrade I'd end up with a system which was the same as the current ISO (which I used to boot up the system previously to recover it....)
Should I autoremove ?
If I do autoremove, is there a simple command to install the missing apps to make my installation "like the current ISO" (eg with Geany instead of Gedit) ?
Any and all advice is, as always, much appreciated....
PS, I'd like to keep using #! so going back to one of your previous comments, is there some suggested reading on the crunchbanglinux.org site for package repositories, apt-pinning etc... Thanks
Last edited by stevewalsh (2012-07-12 16:27:26)