You are not logged in.
Pages: 1
Hi all,
I tried downgrade to 4.0.7-2 from 4.1.3.-1 and got this error:
# cd /var/cache/pacman/pkg/
# pacman -U linux-4.0.7-2-x86_64.pkg.tar.xz linux-headers-4.0.7-2-x86_64.pkg.tar.xz virtualbox-host-modules-4.3.28-2-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (3) linux-4.0.7-2 linux-headers-4.0.7-2 virtualbox-host-modules-4.3.28-2
Total Installed Size: 104.99 MiB
Net Upgrade Size: -0.84 MiB
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
linux: /usr/lib/modules/4.0.7-2-ARCH/modules.alias exists in filesystem
linux: /usr/lib/modules/4.0.7-2-ARCH/modules.alias.bin exists in filesystem
linux: /usr/lib/modules/4.0.7-2-ARCH/modules.builtin.bin exists in file
~
linux-headers: /usr/lib/modules/4.0.7-2-ARCH/build/usr/Kconfig exists in filesystem
linux-headers: /usr/lib/modules/4.0.7-2-ARCH/build/virt/kvm/Kconfig exists in filesystem
Errors occurred, no packages were upgraded.I have problem with system freeze and I need to downgrade kernel to find out if problem is in new kernel.
Does somebody know how to downgrade?
Last edited by waldauf (2015-08-12 07:44:15)
Offline
Check if the files belong to any package: https://bbs.archlinux.org/viewtopic.php?id=130138
Offline
Watch what happens when I upgrade to same version.
# cd /var/cache/pacman/pkg
# pacman -U linux-4.1.4-1-x86_64.pkg.tar.xz linux-headers-4.1.4-1-x86_64.pkg.tar.xz
loading packages...
warning: linux-4.1.4-1 is up to date -- reinstalling
warning: linux-headers-4.1.4-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (2) linux-4.1.4-1 linux-headers-4.1.4-1
Total Installed Size: 105.49 MiB
Net Upgrade Size: 0.00 MiBPacman tells me I'm up to date and the upgrade size is zero. So then I try the same downgrade as you.
pacman -U linux-4.0.7-2-x86_64.pkg.tar.xz linux-headers-4.0.7-2-x86_64.pkg.tar.xz
loading packages...
warning: downgrading package linux (4.1.4-1 => 4.0.7-2)
warning: downgrading package linux-headers (4.1.4-1 => 4.0.7-2)
resolving dependencies...
looking for conflicting packages...
Packages (2) linux-4.0.7-2 linux-headers-4.0.7-2
Total Installed Size: 104.83 MiB
Net Upgrade Size: -0.66 MiBNow pacman explicitly says that I'm downgrading.
How did the files in 4.0.7-2 get there before you downgraded? What have you done to make your messages so different than mine?
Offline
How did the files in 4.0.7-2 get there before you downgraded?
One explanation: he installed linux 4.0.7-2, later he upgraded, now he wants to downgrade back. In the meantime his files database got corrupted.
Offline
severach wrote:How did the files in 4.0.7-2 get there before you downgraded?
One explanation: he installed linux 4.0.7-2, later he upgraded, now he wants to downgrade back. In the meantime his files database got corrupted.
Exactly. I have problem with freezing system. I suspect of kernel or KDE. So I need to downgrade kernel to 4.0.* version to verify where problem is.
Offline
So I solved it very simply. Just removed dir
/usr/lib/modules/4.0.7-2-ARCHNow downgrade run alright. Then I tried to sleep to RAM laptop and it waked up without freezing. I hope that it solved my problem. :]
Thx to all for their help.
Offline
Pages: 1