SEARCH

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

You are not logged in.

#51 2012-04-12 15:51:50

stevewalsh
Member
Registered: 2012-03-15
Posts: 27

Re: #! has lost root drive !

I'm afraid the error message re-appeared sad

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

Offline

Be excellent to each other!

#52 2012-04-12 16:17:57

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

Re: #! has lost root drive !

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?

xaos52

Online

#53 2012-04-12 16:41:59

stevewalsh
Member
Registered: 2012-03-15
Posts: 27

Re: #! has lost root drive !

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

Cheers,
Steve

Offline

#54 2012-04-12 17:02:43

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

Re: #! has lost root drive !

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

xaos

PS: I will be unavailable for a couple of hours, starting... now.

Last edited by xaos52 (2012-04-12 17:03:36)

Online

#55 2012-04-13 11:13:51

stevewalsh
Member
Registered: 2012-03-15
Posts: 27

Re: #! has lost root drive !

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)

Offline

#56 2012-04-13 13:24:17

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

Re: #! has lost root drive !

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
(2) Login
(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

(8) Try

sudo apt-get dist-upgrade -s

and post output of the last command in the forum.

xaos

Last edited by xaos52 (2012-04-13 13:30:23)

Online

#57 2012-06-14 11:57:17

stevewalsh
Member
Registered: 2012-03-15
Posts: 27

Re: #! has lost root drive !

Greetings...

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 :
http://crunchbanglinux.org/pastebin/1704

Further advice gratefully received (to my untrained eye, everything seems ok - I saw no errors)

Cheers again, smile
Steve

Offline

#58 2012-06-14 14:38:15

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

Re: #! has lost root drive !

Hi Steve,

I hope you are well now.
Output looks good.
Go ahead and restart command number (8), without the -s argument this time - no more simulation.

sudo apt-get dist-upgrade

Online

#59 2012-07-12 16:02:52

stevewalsh
Member
Registered: 2012-03-15
Posts: 27

Re: #! has lost root drive !

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

user@crunchbang:~$ sudo apt-get remove  abiword
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  aptdaemon aptdaemon-data aumix aumix-common bluez brasero-common cdrdao
  cheese-common cups-driver-gutenprint dnsmasq-base esound-common
  evince-common evolution-data-server-common foomatic-filters-ppds
  fuse-utils
  gcj-4.4-base gcj-4.4-jre-lib gdebi-core gedit-common gimp-data
  gir1.2-atk-1.0 gir1.2-gdkpixbuf-2.0 gir1.2-json-1.0 gnome-bluetooth
  gnome-desktop3-data gnome-js-common gnome-video-effects growisofs  
  gstreamer0.10-ffmpeg gstreamer0.10-plugins-ugly hal hal-info hwdata
  libaccess-bridge-java libaccess-bridge-java-jni libamd2.2.0 libao-common
  libao4 libaudiofile0 libaudiofile1 libavutil49 libbabl-0.0-0 libbabl-0.1-0
  libbind9-60 libcamel-1.2-33 libcap-ng0 libcdio-cdda0 libcdio-paranoia0
  libcdio10 libcdt4 libcheese-gtk18 libclutter-1.0-common libcogl-common
  libcogl9 libcommons-el-java libdb4.7 libdb4.7-java libdb4.7-java-gcj  
  libdb5.1-java libdb5.1-java-jni libdbi0 libdns69 libdrm-nouveau1
  libdvbpsi6
  libebml0 libebook-1.2-13 libecal-1.2-11 libedataserver-1.2-16
  libeggdbus-1-0
  libesd0 libevent-2.0-5 libevince2 libexempi3 libexiv2-9 libgcj10 libgcr0
  libgee2 libgegl-0.0-0 libgegl-0.2-0 libgeoclue0 libgimp2.0 libglew1.5   
  libglib-perl libgmime-2.6-0 libgmp3c2 libgnome-bluetooth7
  libgnome-desktop-2-17 libgnome2-vfs-perl libgp11-0 libgraph4 libgs8
  libgssdp-1.0-3 libgtk-3-common libgtkglext1 libgtksourceview-3.0-common
  libgtksourceview2.0-0 libgtksourceview2.0-common libgucharmap7
  libgupnp-1.0-4 libgvc5 libimobiledevice1 libisc62 libisccc60 libisccfg62
  libiso9660-7 libjasper-java libjavascriptcoregtk-1.0-0
  libjavascriptcoregtk-3.0-0 libjetty-java libjim0debian2 libjson-glib-1.0-0
  libkpathsea5 libkpathsea6 liblwres60 libmagickcore3 libmagickcore3-extra  
  libmagickwand3 libmatroska0 libminiupnpc5 libmozjs185-1.0
  libmusicbrainz5-0
  libmx-bin libmx-common libmysqlclient16 libmysqlclient18 libnatpmp1
  libneon27-gnutls libnetfilter-conntrack3 libnl-3-200 libnl-genl-3-200
  libnl1
  libnm-glib-vpn1 libnm-glib2 libnm-glib4 libnm-util1 libnm-util2
  libobparser21 libobrender21 libopenraw1 libpango1.0-common libpathplan4
  libpeas-common libpkcs11-helper1 libpoppler-glib4 libpostproc51
  libpython2.6
  libqt4-designer libqt4-qt3support libqt4-script libqt4-sql
  libqt4-sql-mysql
  libquvi-scripts libquvi7 librpmio1 libservlet2.4-java libsidplay1
  libslf4j-java libspectre1 libsvga1 libsysfs2 libtelepathy-glib0  
  libthunar-vfs-1-2 libthunar-vfs-1-common libtidy-0.99-0 libtiff-tools
  libtiff5 libtinyxml2.5.3 libtotem-plparser17 libtracker-sparql-0.14-0
  libtumbler-1-0 libumfpack5.4.0 libunique-1.0-0 libunistring0
  libvte-2.90-common libwebkitgtk-1.0-common libwebkitgtk-3.0-common
  libwpd-0.9-9 libwpg-0.2-2 libwps-0.2-2 libwv-1.2-4 libxcb-atom1   
  libxcb-aux0
  libxcb-event1 libxdot4 libxfce4menu-0.1-0 libxfcegui4-4 libxml-parser-perl
  min12xxw minissdpd modemmanager mysql-common nautilus-data
  network-manager-openvpn network-manager-pptp network-manager-vpnc
  obexd-client openvpn openvpn-blacklist pnm2ppa pptp-linux python-aptdaemon
  python-central python-defer python-gtksourceview2 python-pkg-resources
  python2.5 python2.5-minimal software-properties-common tcl8.4
  transmission-common tumbler-common usb-modeswitch usb-modeswitch-data vpnc
  wpasupplicant yelp-xsl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED: 
  abiword 
0 upgraded, 0 newly installed, 1 to remove and 18 not upgraded.
After this operation, 17.9 MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort
user@crunchbang:~$

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

Cheers,
Steve

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)

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