You are not logged in.
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.. )
Last edited by bozack (2010-04-18 18:19:26)
Offline
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
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
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
It's because you want to update only cups. Do as wonder said - move the file, then -Su.
Offline
Update poppler first, then continue.
Offline
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
Offline
Maybe try installing linux-api-headers with pacman -S linux-api-headers?
Offline
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
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?! Any ideas?
Offline
What terminal program is it?
Offline
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
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
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
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
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
it didn't work to simply reinstall gtk2
Offline
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
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 .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
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.. 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 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
Offline
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
Not having a terminal is pretty bad.
...not having a shell would be worse!
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
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
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?
Offline