You are not logged in.

#1 2015-08-10 21:21:27

waldauf
Member
Registered: 2012-07-15
Posts: 137

[SOLVED] Downgrade kernel problem

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

#2 2015-08-10 21:25:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Downgrade kernel problem

Check if the files belong to any package: https://bbs.archlinux.org/viewtopic.php?id=130138

Offline

#3 2015-08-11 03:18:06

severach
Member
Registered: 2015-05-23
Posts: 198

Re: [SOLVED] Downgrade kernel problem

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 MiB

Pacman 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 MiB

Now 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

#4 2015-08-11 09:12:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Downgrade kernel problem

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.

Offline

#5 2015-08-12 07:13:19

waldauf
Member
Registered: 2012-07-15
Posts: 137

Re: [SOLVED] Downgrade kernel problem

karol wrote:
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

#6 2015-08-12 07:43:48

waldauf
Member
Registered: 2012-07-15
Posts: 137

Re: [SOLVED] Downgrade kernel problem

So I solved it very simply. Just removed dir

/usr/lib/modules/4.0.7-2-ARCH

Now 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

Board footer

Powered by FluxBB