You are not logged in.

#1 2010-09-29 19:36:03

thiago
Member
Registered: 2010-09-10
Posts: 8

Really big issue after last upgrade

After invoking

pacman -Syu

this morning something really strange happened : it upgraded my kernel headers and docs to kernel 2.6.35.7, but did nothing to the kernel itself. After the install of all packages, I went to the '/boot' directory and it was empty except for the 'grub' sub-directory. Since the kernel was still loaded in memory, it was only a matter of doing

pacman -S kernel26

and it installed the kernel and initramfs image.  All this happened while I rebooted in console mode to uninstall gtk/gnome completely and install kde.
  After that I went to check my system configuration file 'rc.conf' and guess what, it was missing too and after that I noticed that 'inittab' had also been deleted. Luckly I edited both files with vim which made backups in 'rc.conf~' and 'inittab~' respectively, so it was easy to restore both. After having a quick look at etc I decided to reboot the system(default runlevel was changed back to 5 so I could boot kde directly) but something was strange after reboot(I expected that) : nouveau framebuffer driver did not load and I never entered KDM, getting a terminal login instead. Also noticed that the PS1 variable was not set. After trying to edit my configuration files I kept getting that this was a read only file system and could do nothing until I booted with an old ubuntu livecd. After checking on 'inittab' again I noticed the following files were missing(sadly, I never edited them):

- /etc/rc.sysinit
- /etc/rc.single
- /etc/rc.multi
- /etc/rc.shutdown

  Has anyone experienced this 'accident' before? If so, do you have any clue how I might recover those files? I would rather not reinstall the system.

  Thanks in advance.

Offline

#2 2010-09-29 19:50:01

jonathan183
Member
Registered: 2008-06-11
Posts: 14

Re: Really big issue after last upgrade

thiago wrote:

After checking on 'inittab' again I noticed the following files were missing(sadly, I never edited them):

- /etc/rc.sysinit
- /etc/rc.single
- /etc/rc.multi
- /etc/rc.shutdown

  Has anyone experienced this 'accident' before? If so, do you have any clue how I might recover those files? I would rather not reinstall the system

pacman -Qo /etc/rc.sysinit reports owned by package initscripts ... which you could re-install ... might be worth reviewing logs and see if you can figure out whats going on first though ...

Last edited by jonathan183 (2010-09-29 19:51:01)

Offline

#3 2010-09-30 11:35:58

thiago
Member
Registered: 2010-09-10
Posts: 8

Re: Really big issue after last upgrade

jonathan183 wrote:
thiago wrote:

After checking on 'inittab' again I noticed the following files were missing(sadly, I never edited them):

- /etc/rc.sysinit
- /etc/rc.single
- /etc/rc.multi
- /etc/rc.shutdown

  Has anyone experienced this 'accident' before? If so, do you have any clue how I might recover those files? I would rather not reinstall the system

pacman -Qo /etc/rc.sysinit reports owned by package initscripts ... which you could re-install ... might be worth reviewing logs and see if you can figure out whats going on first though ...

  Thanks, after manually installing the 'initscripts' package in '/var/cache/pacman/pkg', my system was restored. As for what happened, I believe it was some bug with pacman, as the 'initscripts' package was uninstalled after the system upgrade. That package was part of the 'base' meta package which was upgraded as a whole. After the restore I issued :

pacman -Sf initscripts

to have the package 'officially installed'.
  As I stated, 'initscripts' was not the only package uninstalled after the system upgrade, kernel26 was lost too(but kernel26-docs and kernel26-headers were upgraded successfully). After the restore I tried to start kde with 'startx' and got a message stating that '/usr/bin/X' could not be found/executed. That was solved by reinstalling the 'xorg' meta package, but I believe some package of the 'xorg' group was also uninstalled after the upgrade.

Offline

#4 2010-09-30 11:42:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Really big issue after last upgrade

Your pacman tells you what was installed/removed/upgraded - might also give you a clue about why it happened.

Offline

#5 2010-09-30 11:51:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Really big issue after last upgrade

thiago wrote:

All this happened while I rebooted in console mode to uninstall gtk/gnome completely and install kde.

Upgrading does not (generally) remove packages unless they are being replaced.  It looks like you removed a bit much when removing gtk/gnome...

Offline

Board footer

Powered by FluxBB