You are not logged in.

#1 2010-04-18 18:15:17

bozack
Member
From: Denmark
Registered: 2008-07-10
Posts: 45
Website

Updating after half a year of not using my Arch - tons of problems :(

I've not used my Arch computer for more than half a year by now, and of course I have to get it updated. I started with the following:

[bozack: ~]$ sudo pacman -Suy
:: Synchronizing package databases...
 core                      35,9K  413,7K/s 00:00:00 [#####################] 100%
 extra                    448,9K  909,7K/s 00:00:00 [#####################] 100%
 community                372,6K  910,2K/s 00:00:00 [#####################] 100%
:: Starting full system upgrade...
warning: conky: ignoring package upgrade (1.7.2-5 => 1.8.0-1)
:: Replace jack-audio-connection-kit with extra/jack? [Y/n] Y
:: Replace kdelibs-experimental with extra/kdelibs? [Y/n] Y
:: Replace kernel-headers with core/linux-api-headers? [Y/n] Y
:: Replace klibc with core/mkinitcpio? [Y/n] Y
:: Replace klibc-extras with core/mkinitcpio? [Y/n] Y
:: Replace klibc-kbd with core/mkinitcpio? [Y/n] Y
:: Replace klibc-module-init-tools with core/mkinitcpio? [Y/n] Y
:: Replace klibc-udev with core/mkinitcpio? [Y/n] Y
:: Replace pil with extra/python-imaging? [Y/n] Y
:: Replace policykit with extra/polkit? [Y/n] Y
:: Replace policykit-gnome with extra/polkit-gnome? [Y/n] Y
:: Replace verve-plugin with extra/xfce4-verve-plugin? [Y/n] Y
resolving dependencies...
warning: dependency cycle detected:
warning: xorg-server will be installed before its nvidia-utils dependency
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: kdelibs: requires phonon

This was corrected with a little searching in the forums:

[bozack: ~]$ sudo pacman -Sy --asdeps qt
:: Synchronizing package databases...
 core                      35,9K  396,5K/s 00:00:00 [#####################] 100%
 extra                    448,9K  776,2K/s 00:00:01 [#####################] 100%
 community                372,6K  914,3K/s 00:00:00 [#####################] 100%
resolving dependencies...
looking for inter-conflicts...

Targets (1): qt-4.6.2-3  

Total Download Size:    23,07 MB
Total Installed Size:   99,23 MB

Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
 qt-4.6.2-3-x86_64.p...    23,1M  488,2K/s 00:00:48 [#####################] 100%
checking package integrity...
(1/1) checking for file conflicts                   [#####################] 100%
(1/1) upgrading qt                                  [#####################] 100%

Then I ran a new pacman -Su, but after downloading more than a GB of files, I got

(...)
checking package integrity...
(483/483) checking for file conflicts               [#####################] 100%
error: failed to commit transaction (conflicting files)
cups: /etc/cups/printers.conf exists in filesystem
Errors occurred, no packages were upgraded.

Once again, I went searching in the forums, and found this thread: http://bbs.archlinux.org/viewtopic.php?id=93935 And from that, this news: http://www.archlinux.org/news/491/

So I backed up my /etc/cups/printers.conf, and ran the pacman -Sf cups. Here it gives me

[bozack: cups]$ sudo pacman -Sf cups
resolving dependencies...
looking for inter-conflicts...
:: linux-api-headers conflicts with kernel-headers. Remove kernel-headers? [Y/n]

to my knowledge, kernel-headers sounds pretty much like something I wouldn't like to remove.. Is this really the way to do it?

I hope someone will help me (I'm really not that good at this - it's simply too long time since I've worked with Arch to remember everything.. sad)

Last edited by bozack (2010-04-18 18:19:26)

Offline

#2 2010-04-18 18:17:35

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Updating after half a year of not using my Arch - tons of problems :(

That's just userspace header stuff. Perhaps the name was changed indeed to stop people from panicking over it. You can safely press "y".

Offline

#3 2010-04-18 18:18:29

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

move in other directory /etc/cups/printers.conf and pacman -Su and ask Y on every replaces


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2010-04-18 18:20:58

bozack
Member
From: Denmark
Registered: 2008-07-10
Posts: 45
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

Thank you so much for your quick replies!

After saying Y to it, it gave me the following:

[bozack: cups]$ sudo pacman -Sf cups
Adgangskode: 
resolving dependencies...
looking for inter-conflicts...
:: linux-api-headers conflicts with kernel-headers. Remove kernel-headers? [Y/n] Y
error: failed to prepare transaction (could not satisfy dependencies)
:: poppler-glib: requires poppler=0.12.1
:: poppler-qt: requires poppler=0.12.1

what next?

Offline

#5 2010-04-18 18:25:02

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Updating after half a year of not using my Arch - tons of problems :(

It's because you want to update only cups. Do as wonder said - move the file, then -Su.

Offline

#6 2010-04-18 18:25:15

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Updating after half a year of not using my Arch - tons of problems :(

Update poppler first, then continue.

Offline

#7 2010-04-18 18:31:09

bozack
Member
From: Denmark
Registered: 2008-07-10
Posts: 45
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

Moving the file doesn't change any of the error messages, and trying to update poppler with pacman -S poppler gives

sudo pacman -S poppler
resolving dependencies...
looking for inter-conflicts...
:: linux-api-headers conflicts with kernel-headers. Remove kernel-headers? [Y/n] Y
error: failed to prepare transaction (could not satisfy dependencies)
:: poppler-glib: requires poppler=0.12.1
:: poppler-qt: requires poppler=0.12.1

sad

Offline

#8 2010-04-18 18:35:22

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Updating after half a year of not using my Arch - tons of problems :(

Maybe try installing linux-api-headers with pacman -S linux-api-headers?

Offline

#9 2010-04-18 18:37:34

bozack
Member
From: Denmark
Registered: 2008-07-10
Posts: 45
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

Oh, trying to run pacman -Su alone suddenly worked! I'll get back if there's any other problems - but it seems like it's working by now (it's still upgrading though)

Offline

#10 2010-04-18 19:21:04

bozack
Member
From: Denmark
Registered: 2008-07-10
Posts: 45
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

Alright, now I've got a new problem.. When opening a terminal (via either buttons for it in my xfce panel, or by left-clicking the desktop and choosing it) - it opens, but after half a second, it just closes again?! sad Any ideas?

Offline

#11 2010-04-18 19:38:34

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Updating after half a year of not using my Arch - tons of problems :(

What terminal program is it?

Offline

#12 2010-04-18 19:40:21

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

my experience says that is because libjpeg/libpng. check out what cairo package do you have. pacman -Qs cairo. if is something different than "cairo", you have to recompile it and then reinstall gtk2(that's because some files are generated at installations)


Give what you have. To someone, it may be better than you dare to think.

Offline

#13 2010-04-18 19:55:50

bozack
Member
From: Denmark
Registered: 2008-07-10
Posts: 45
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

Alright, I SSH'ed to the machine and logged on root to do wonder's pacman -Qs cairo command. It gave a lot of information after that:

local/cairo 1.8.10-1
    Cairo vector graphics library
local/cairo-perl 1.061-1
    Perl wrappers for cairo
local/cairomm 1.8.4-1
    C++ bindings to Cairo vector graphics library
local/goocanvas 0.15-1
    A cairo canvas widget for GTK+
local/pycairo 1.8.8-1
    Python bindings for the cairo graphics library

Does that count as "something different than 'cairo'"? In that case, how do I recompile it?

Offline

#14 2010-04-18 19:58:14

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

nope, that's not the problem. just asking,, in the updating process did you see some libpng.1.2.0.so not found? maybe the updating list order was not good(i've seen cases) and reinstalling gtk2 was solving the problem(pacman -S gtk2)

if this wont work, we need more informations from you. like errors big_smile

Last edited by wonder (2010-04-18 20:01:48)


Give what you have. To someone, it may be better than you dare to think.

Offline

#15 2010-04-18 19:59:41

bozack
Member
From: Denmark
Registered: 2008-07-10
Posts: 45
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

I got so many messages during the update, that I'm sure I missed some of them - so I can't really say if it gave me an error like that unfortunately. I've reinstallet gtk2 now, and I'm going to reboot just to be sure - I'll write back after that.

Offline

#16 2010-04-18 20:02:38

bozack
Member
From: Denmark
Registered: 2008-07-10
Posts: 45
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

it didn't work to simply reinstall gtk2 sad

Offline

#17 2010-04-18 20:04:42

bozack
Member
From: Denmark
Registered: 2008-07-10
Posts: 45
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

I found a new lead!

I can open a terminal as root. And when I log into the computer via SSH (on another user, mbertelsen) - I can su to root via that user, but not to my normal user, bozack. It is apparently only the bozack terminal that is faulty.

When I write su bozack in the root terminal, it does nothing, and simply jumps to a new line..

Does that give any clues?

Last edited by bozack (2010-04-18 20:05:35)

Offline

#18 2010-04-18 21:20:18

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

Try creating a new user for yourself. If that works, copy over configuration files from your own account bit by bit and see where it breaks. Might be enough to just wipe your terminal configuration for your existent user.

And next time do more regular updates on your system, you'll spend way less time fixing things wink.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#19 2010-04-18 21:30:39

bozack
Member
From: Denmark
Registered: 2008-07-10
Posts: 45
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

Yeah I know I should have done more regular updates, and I feared this day because I knew something would go wrong.. But I didn't think it would go this wrong though.. tongue Not having a terminal is pretty bad.

But in order for me to be able to copy configuration files, I'll probably need a little help as well. First of all, where do configurations for the terminal lay? Then I'll start with trying those out on a new user, to see if it goes wrong smile But if that doesn't help, which configuration files do you then think I should try moving? They must have something to do with the user properties, the terminal program or maybe the desktop environment - but where do I find them?

I'm sorry about all these questions, but I simply have no idea where to start - it seems like quite a big project suddenly sad

Offline

#20 2010-04-18 22:03:45

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

Well, I assume you know which terminal emulator you're using, and where its configuration settings are stored?

Since the terminal craps out, that's the files you should look at first.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#21 2010-04-19 08:12:57

sultanoswing
Member
Registered: 2008-07-23
Posts: 314

Re: Updating after half a year of not using my Arch - tons of problems :(

bozack wrote:

tongue Not having a terminal is pretty bad.

...not having a shell would be worse! smile


6.5.3.arch1-1(x86_64) w/Gnome 44.4
Arch on: ASUS Pro-PRIME x470, AMD 5800X3D, AMD 6800XT, 32GB, | Intel NUC 7i5RYK | ASUS ux303ua | Surface Laptop

Offline

#22 2010-04-19 08:39:57

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Updating after half a year of not using my Arch - tons of problems :(

You said you can't su to your user in an ssh session but you can use the shell as root? I think the problem lies in your shell config (.bashrc or .zshrc and such) rather than in your terminal which probably just exits because the shell does.

Offline

#23 2010-04-19 09:49:48

bozack
Member
From: Denmark
Registered: 2008-07-10
Posts: 45
Website

Re: Updating after half a year of not using my Arch - tons of problems :(

I tried changing my .bashrc into the original .bashrc I have on the mbertelsen user that actually could log on via SSH:

# Check for an interactive session
[ -z "$PS1" ] && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

something changed: The terminal still shuts down (and never gets to show anything than an empty window), but it takes twice the time. My usual .bashrc contained:

# Check for an interactive session
[ -z "$PS1" ] && return

alias ls='ls --color=auto'
#PS1='[\u@\h \W]\$ '
#export PS1='\[\e[1;34m\][\u: \W]\$\[\e[0m\] '
export PS1='\[\e[0;34m\][\[\e[1;34m\]\u: \W\[\e[0;34m\]]\$ \[\e[0m\]'

#Mine egne alias'er
alias sshfys='ssh -Y bozack@fys.ku.dk'
alias sshlynx='ssh -Y bozack@lynx.astro.ku.dk'
alias sshfsfys='sshfs bozack@fys.ku.dk:Dat_F /mnt/datf'

Any other ideas? sad

Offline

Board footer

Powered by FluxBB