You are not logged in.
After I `yaourt -S pam gpm`, I can't login/ssh to my laptop.
Also `sudo su root`, it just prints out 'sudo: PAM authentication error: Module is unknown'
/var/log/pacman.log:
[2015-11-12 14:39] [PACMAN] Running 'pacman --color auto -S extra/libva-mesa-driver extra/libevdev'
[2015-11-12 14:39] [ALPM] transaction started
[2015-11-12 14:39] [ALPM] upgraded libva-mesa-driver (11.0.4-1 -> 11.0.5-1)
[2015-11-12 14:39] [ALPM] upgraded libevdev (1.4.4-1 -> 1.4.5-1)
[2015-11-12 14:39] [ALPM] transaction completed
[2015-11-12 14:41] [PACMAN] Running 'pacman --color auto -S core/pam core/gpm'
[2015-11-12 14:41] [ALPM] transaction started
[2015-11-12 14:41] [ALPM] upgraded pam (1.2.1-1 -> 1.2.1-2)
[2015-11-12 14:41] [ALPM] upgraded gpm (1.20.7-5 -> 1.20.7-6)
[2015-11-12 14:41] [ALPM] transaction completed
How can I fix this up? I can't even roll back to older version of pam.
Can I reboot to single user mode?
Also, why does this update cause this problem?
Thank you.
Last edited by JasonZhang (2015-11-12 07:02:41)
Offline
Update your system, partial updates are not supported. If you ever run pacman -Sy, you're probably doing it wrong.
Offline
@Scimmia, thanks for your reply.
But sometimes I don't want to update some programs which may have different behaviors to the older version or something else.
Offline
@Scimmia, thanks for your reply.
But sometimes I don't want to update some programs which may have different behaviors to the older version or something else.
Then you're using the wrong distro. If you do partial updates, things like this happen. You're on your own.
Offline
JasonZhang wrote:@Scimmia, thanks for your reply.
But sometimes I don't want to update some programs which may have different behaviors to the older version or something else.
Then you're using the wrong distro. If you do partial updates, things like this happen. You're on your own.
Emm, but how can I fix this issue up?
Offline
Not a Sysadmin issue, moving to NC...
Offline
Like I said, by updating your system. You may have to boot to a live CD and use pacman --root to do it.
Offline
Like I said, by updating your system. You may have to boot to a live CD and use pacman --root to do it.
I'll have a try. Thank you.
Offline
I have this error from nowhere and nothing in the middle of an upgrade (not a partial upgrade--in the middle of the actual upgrade process).
I need a solution that does not involve rebooting, as there's a good chance the system will not be recoverable.
I tried to login as root, but this resulted in "login incorrect" before asking for a password.
EDIT: The last successful use of sudo occured when installing libtirpc during the upgrade. I highly suspect this package is broken, which was a known problem in [testing] as of June.
Last edited by quequotion (2015-11-14 15:37:24)
makepkg-optimize · indicator-powersave · pantheon-{3d,lite} · {pantheon,higan}-qq
Offline
I have this error from nowhere and nothing in the middle of an upgrade (not a partial upgrade--in the middle of the actual upgrade process).
What upgrade process would that be?
If you're stuck as non-root without working pam, I don't know what else you can do.
Offline
If you're stuck as non-root without working pam, I don't know what else you can do.
If a functional libtirpc package exists, I can install it with pacstrap from the live cd, but it's a bit of a gamble.
I do not believe a working package exists; I suspect the problem that appeared in testing has passed into the repositories and lots of people are about to have broken PAM.
Last edited by quequotion (2015-11-14 15:42:53)
makepkg-optimize · indicator-powersave · pantheon-{3d,lite} · {pantheon,higan}-qq
Offline
Nope, current libtirpc works fine. I've been running it for over a week.
The issue is upgrading it without upgrading pam (ie, partial update).
Last edited by Scimmia (2015-11-14 15:45:56)
Offline
What upgrade process would that be?
The kind you don't expect to leave you with a bricked computer.
I was able to get back to a usable state. I rebooted to the livecd and reinstalled libtirpc with pacstrap but that wasn't enough because the unfinished upgrade had left many version descrepancies, breaking systemd, gnome, etc.
What is wrong with libtirpc? It looks like I found whatever was going on in [testing] back in June, but maybe it only comes out when building from ABS.
makepkg-optimize · indicator-powersave · pantheon-{3d,lite} · {pantheon,higan}-qq
Offline
Scimmia wrote:What upgrade process would that be?
The kind you don't expect to leave you with a bricked computer.
Specifically?
If you mean building a package, installing it, then building another, that's an unsupported partial update and this kind of breakage is expected.
Offline
that's an unsupported partial update and this kind of breakage is expected.
Rather than play 20 questions, when we both know you're just looking for an excuse to do nothing and that you will find it; why not consider that there is something very dangerous going on with this package and it's in everyone's best interest to do something about it.
Just because it doesn't happen under perfect conditions with the specific version packaged now doesn't mean it won't later or in another version of this package, and it's really dangerous.
Example: If there were a hand grenade under my pillow, but the pin had not been pulled, I could probably sleep on it safely--but I wouldn't.
Last edited by quequotion (2015-11-15 07:09:07)
makepkg-optimize · indicator-powersave · pantheon-{3d,lite} · {pantheon,higan}-qq
Offline
I'm just using the fact that I happen to know that you like to build everything on your system without actually knowing what you're doing.
So answer this simple question: Did you run pacman -Syu and update libtirpc at the same time as all packages that depend on it?
Last edited by Scimmia (2015-11-15 07:16:12)
Offline
Okay guys, rein it in a little.
https://wiki.archlinux.org/index.php/Fo … ther_users
Last edited by ewaller (2015-11-15 07:18:56)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
rein it in a little.
Sorry if it sounded contentious, I don't mean to start a fight.
you like to build everything on your system without actually knowing what you're doing
There are many reasons why I do this, one of them is to find more bugs, another is to learn more about the individual packages.
I'm willing to go through a lot to contribute to better packages; even if my opinion of "better" isn't required by arch standards.
Last edited by quequotion (2015-11-15 14:18:41)
makepkg-optimize · indicator-powersave · pantheon-{3d,lite} · {pantheon,higan}-qq
Offline
And you still won't answer the question.
Offline
And you still won't answer the question.
I was pretty sure you'd already understood that I was upgrading by building the packages from source.
If you really need something to point at and say "see that's exactly why..." then yes, I was upgrading with "yaourt -Syub". Just one b; I skipped building dependencies as well this time.
I don't see why it's invalid to ask what in libtirpc could be potentially causing a serious problem anyway, as it does seem to cause this problem under certain conditions ([testing] build, incomplete upgrades, etc) and given that Arch is a rolling release that most users upgrade manually, every single installation exists at a different stage of (partial) upgrade. I find it important to know why this isn't affecting standard installations when it is very easy to trigger; the possibility that this particular package has potential for catastrophic failure seems worth investigating....
Was there ever a followup after the package was pulled from [testing] in June?
makepkg-optimize · indicator-powersave · pantheon-{3d,lite} · {pantheon,higan}-qq
Offline
Arch is a rolling release that most users upgrade manually, every single installation exists at a different stage of (partial) upgrade.
This is only true for people that don't -Syu: which is why it is unsupported. The Arch model depends upon full system upgrades.
Offline
Scimmia wrote:And you still won't answer the question.
I was pretty sure you'd already understood that I was upgrading by building the packages from source.
If you really need something to point at and say "see that's exactly why..." then yes, I was upgrading with "yaourt -Syub". Just one b; I skipped building dependencies as well this time.
So yes, your entire problem comes from the partial update. This is not supported for exactly this reason.
I don't see why it's invalid to ask what in libtirpc could be potentially causing a serious problem anyway
It doesn't, though. It's a soname bump the same as hundreds of soname bumps that Arch has had.
as it does seem to cause this problem under certain conditions ([testing] build, incomplete upgrades, etc) and given that Arch is a rolling release that most users upgrade manually, every single installation exists at a different stage of (partial) upgrade.
This is flat out false. A partial upgrade is when you update a library or program without updating everything else on your system to the most current version available at exactly the same time. No Arch installations should exist in this state.
I find it important to know why this isn't affecting standard installations when it is very easy to trigger; the possibility that this particular package has potential for catastrophic failure seems worth investigating....
Was there ever a followup after the package was pulled from [testing] in June?
It was fixed immediately.
https://projects.archlinux.org/svntogit … 89441b01d0
This has nothing to do with that at all.
Offline
I had this problem recently. I fixed it from an existing LMDE I have on a different partition.
I boot into LMDE
$ su root
# fdisk -l
/dev/sda4 446341120 976773119 530432000 253G 83 Linux
# mkdir /mnt/sda4
# mount /dev/sda4 /mnt/sda4
# cd /mnt/sda4
# mount -t proc proc proc/
# mount --rbind /sys sys/
# mount --rbind /dev dev/
# cp /etc/resolv.conf etc/resolv.conf
# chroot /mnt/sda4
# pacman -Syyu
:: Proceed with installation? [Y/n] y
# exit
# cd /
# umount --recursive /mnt/sda4/
# reboot
Last edited by amaro (2015-11-30 13:44:07)
Offline
I had this problem recently. I fixed it from an existing LMDE I have on a different partition.
This is a very helpful reply, and it reminds me that we might need a wiki page especially for ways to recover "bricked" installations.
makepkg-optimize · indicator-powersave · pantheon-{3d,lite} · {pantheon,higan}-qq
Offline
We already do. See https://wiki.archlinux.org/index.php/Change_root
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline