web-dev-qa-db-ja.com

再起動後に変更なしで14.10から15.04にアップグレードされました

Ubuntu 14.10(Ubuntu MATE)を使用していて、Update Managerが15.04へのアップグレードが可能であることを示しました。だから私は大丈夫を選択し、アップグレードが開始されました。それには多くの時間がかかりましたが、その後すべてが終了し、システムを再起動する必要がありました。

しかし、今ではすべてが同じです。変更はありません。 uname -aでカーネルをチェックしましたが、古い14.10カーネルだと思います:

Linux i3 3.16.0-38-generic #52-Ubuntu SMP Thu May 7 10:51:21 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Sudo apt-get dist-upgradeもアップデートマネージャーを開始しましたが、新しいアップデートはありません。怪しいものはありますか?何か案は?

編集:この出力は分析に役立つかもしれません:

dpkg -l | grep -Ei "linux-headers|linux-image" 
rc  linux-image-3.16.0-23-generic               3.16.0-23.31                               AMD64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
rc  linux-image-3.16.0-33-generic               3.16.0-33.44                               AMD64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
rc  linux-image-3.16.0-34-generic               3.16.0-34.47                               AMD64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
rc  linux-image-3.16.0-36-generic               3.16.0-36.48                               AMD64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-38-generic               3.16.0-38.52                               AMD64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
rc  linux-image-3.19.0-18-generic               3.19.0-18.18                               AMD64        Linux kernel image for version 3.19.0 on 64 bit x86 SMP
rc  linux-image-extra-3.16.0-23-generic         3.16.0-23.31                               AMD64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
rc  linux-image-extra-3.16.0-33-generic         3.16.0-33.44                               AMD64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
rc  linux-image-extra-3.16.0-34-generic         3.16.0-34.47                               AMD64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
rc  linux-image-extra-3.16.0-36-generic         3.16.0-36.48                               AMD64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-38-generic         3.16.0-38.52                               AMD64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
rc  linux-image-extra-3.19.0-18-generic         3.19.0-18.18                               AMD64        Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP

そこに3.19が表示されます-しかし、どういうわけか、システムの起動時にまだ3.16が使用されているのはなぜですか?

編集2:

Sudo apt update
Ign http://archive.canonical.com vivid InRelease
Ign http://de.archive.ubuntu.com vivid InRelease                           
Hit http://archive.canonical.com vivid Release.gpg                          
Ign http://de.archive.ubuntu.com vivid-updates InRelease                    
Hit http://archive.canonical.com vivid Release                              
Ign http://de.archive.ubuntu.com vivid-backports InRelease                                         
Hit http://archive.canonical.com vivid/partner AMD64 Packages               
Hit http://de.archive.ubuntu.com vivid Release.gpg                                  
Hit http://archive.canonical.com vivid/partner i386 Packages          
Get:1 http://de.archive.ubuntu.com vivid-updates Release.gpg [933 B]                 
Hit http://archive.canonical.com vivid/partner Translation-en                    
Hit http://de.archive.ubuntu.com vivid-backports Release.gpg         
Ign http://security.ubuntu.com vivid-security InRelease
Hit http://de.archive.ubuntu.com vivid Release
Get:2 http://de.archive.ubuntu.com vivid-updates Release [63,5 kB]    
Hit http://security.ubuntu.com vivid-security Release.gpg                
Hit http://de.archive.ubuntu.com vivid-backports Release
Hit http://de.archive.ubuntu.com vivid/main Sources                    
Hit http://de.archive.ubuntu.com vivid/restricted Sources     
Hit http://de.archive.ubuntu.com vivid/universe Sources       
Hit http://security.ubuntu.com vivid-security Release
Hit http://de.archive.ubuntu.com vivid/multiverse Sources           
Hit http://de.archive.ubuntu.com vivid/main AMD64 Packages          
Hit http://de.archive.ubuntu.com vivid/restricted AMD64 Packages   
Hit http://de.archive.ubuntu.com vivid/universe AMD64 Packages     
Hit http://de.archive.ubuntu.com vivid/multiverse AMD64 Packages   
Hit http://security.ubuntu.com vivid-security/main Sources    
Hit http://de.archive.ubuntu.com vivid/main i386 Packages
Hit http://de.archive.ubuntu.com vivid/restricted i386 Packages
Hit http://security.ubuntu.com vivid-security/restricted Sources
Hit http://de.archive.ubuntu.com vivid/universe i386 Packages
Hit http://de.archive.ubuntu.com vivid/multiverse i386 Packages
Hit http://de.archive.ubuntu.com vivid/main Translation-en        
Hit http://security.ubuntu.com vivid-security/universe Sources    
Hit http://de.archive.ubuntu.com vivid/multiverse Translation-en  
Hit http://de.archive.ubuntu.com vivid/restricted Translation-en  
Hit http://de.archive.ubuntu.com vivid/universe Translation-en    
Get:3 http://de.archive.ubuntu.com vivid-updates/main Sources [32,4 kB]
Hit http://security.ubuntu.com vivid-security/multiverse Sources          
Get:4 http://de.archive.ubuntu.com vivid-updates/restricted Sources [28 B]              
Get:5 http://de.archive.ubuntu.com vivid-updates/universe Sources [12,6 kB]             
Get:6 http://de.archive.ubuntu.com vivid-updates/multiverse Sources [1.957 B]           
Hit http://security.ubuntu.com vivid-security/main AMD64 Packages                       
Get:7 http://de.archive.ubuntu.com vivid-updates/main AMD64 Packages [75,1 kB]
Get:8 http://de.archive.ubuntu.com vivid-updates/restricted AMD64 Packages [28 B]        
Hit http://security.ubuntu.com vivid-security/restricted AMD64 Packages                  
Get:9 http://de.archive.ubuntu.com vivid-updates/universe AMD64 Packages [40,4 kB]
Get:10 http://de.archive.ubuntu.com vivid-updates/multiverse AMD64 Packages [3.494 B]    
Get:11 http://de.archive.ubuntu.com vivid-updates/main i386 Packages [74,7 kB]            
Hit http://security.ubuntu.com vivid-security/universe AMD64 Packages       
Get:12 http://de.archive.ubuntu.com vivid-updates/restricted i386 Packages [28 B]
Get:13 http://de.archive.ubuntu.com vivid-updates/universe i386 Packages [40,3 kB]               
Get:14 http://de.archive.ubuntu.com vivid-updates/multiverse i386 Packages [3.680 B]                
Hit http://security.ubuntu.com vivid-security/multiverse AMD64 Packages                               
Hit http://de.archive.ubuntu.com vivid-updates/main Translation-en
Hit http://de.archive.ubuntu.com vivid-updates/multiverse Translation-en
Hit http://de.archive.ubuntu.com vivid-updates/restricted Translation-en
Hit http://security.ubuntu.com vivid-security/main i386 Packages  
Hit http://de.archive.ubuntu.com vivid-updates/universe Translation-en
Hit http://de.archive.ubuntu.com vivid-backports/main Sources     
Hit http://de.archive.ubuntu.com vivid-backports/restricted Sources
Hit http://de.archive.ubuntu.com vivid-backports/universe Sources
Hit http://security.ubuntu.com vivid-security/restricted i386 Packages
Hit http://de.archive.ubuntu.com vivid-backports/multiverse Sources
Hit http://de.archive.ubuntu.com vivid-backports/main AMD64 Packages
Hit http://de.archive.ubuntu.com vivid-backports/restricted AMD64 Packages
Hit http://de.archive.ubuntu.com vivid-backports/universe AMD64 Packages
Hit http://security.ubuntu.com vivid-security/universe i386 Packages
Hit http://de.archive.ubuntu.com vivid-backports/multiverse AMD64 Packages
Hit http://de.archive.ubuntu.com vivid-backports/main i386 Packages
Hit http://de.archive.ubuntu.com vivid-backports/restricted i386 Packages
Hit http://security.ubuntu.com vivid-security/multiverse i386 Packages
Hit http://de.archive.ubuntu.com vivid-backports/universe i386 Packages
Hit http://de.archive.ubuntu.com vivid-backports/multiverse i386 Packages
Hit http://de.archive.ubuntu.com vivid-backports/main Translation-en
Hit http://security.ubuntu.com vivid-security/main Translation-en   
Hit http://de.archive.ubuntu.com vivid-backports/multiverse Translation-en
Hit http://de.archive.ubuntu.com vivid-backports/restricted Translation-en
Hit http://de.archive.ubuntu.com vivid-backports/universe Translation-en
Hit http://security.ubuntu.com vivid-security/multiverse Translation-en
Hit http://security.ubuntu.com vivid-security/restricted Translation-en
Hit http://security.ubuntu.com vivid-security/universe Translation-en
Fetched 349 kB in 5s (66,5 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

編集3:

lsb_release -c
Codename:   vivid

カーネルさえ正しくないのに、なぜそれは鮮やかなのですか?

編集4:

OK Sudo apt-get install linux-genericは問題を解決しました。その後、リブートして、current(?)カーネルができました:

uname -a
Linux i3 3.19.0-18-generic #18-Ubuntu SMP Tue May 19 18:31:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

15.04へのアップグレード後、システムが古いカーネルを使用している理由がまだわかりません(誰かが説明できるかもしれません)。助けてくれてありがとう!

フル出力

Sudo apt-get install linux-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  linux-headers-3.19.0-18 linux-headers-3.19.0-18-generic
  linux-headers-generic linux-image-3.19.0-18-generic
  linux-image-extra-3.19.0-18-generic linux-image-generic thermald
Suggested packages:
  fdutils linux-doc-3.19.0 linux-source-3.19.0 linux-tools
The following NEW packages will be installed:
  linux-generic linux-headers-3.19.0-18 linux-headers-3.19.0-18-generic
  linux-headers-generic linux-image-3.19.0-18-generic
  linux-image-extra-3.19.0-18-generic linux-image-generic thermald
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 65,5 MB of archives.
After this operation, 290 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://de.archive.ubuntu.com/ubuntu/ vivid-updates/main linux-image-3.19.0-18-generic AMD64 3.19.0-18.18 [16,8 MB]
Get:2 http://de.archive.ubuntu.com/ubuntu/ vivid-updates/main linux-image-extra-3.19.0-18-generic AMD64 3.19.0-18.18 [38,4 MB]
Get:3 http://de.archive.ubuntu.com/ubuntu/ vivid-updates/main linux-image-generic AMD64 3.19.0.18.17 [2.448 B]
Get:4 http://de.archive.ubuntu.com/ubuntu/ vivid-updates/main linux-headers-3.19.0-18 all 3.19.0-18.18 [9.323 kB]
Get:5 http://de.archive.ubuntu.com/ubuntu/ vivid-updates/main linux-headers-3.19.0-18-generic AMD64 3.19.0-18.18 [752 kB]
Get:6 http://de.archive.ubuntu.com/ubuntu/ vivid-updates/main linux-headers-generic AMD64 3.19.0.18.17 [2.418 B]
Get:7 http://de.archive.ubuntu.com/ubuntu/ vivid-updates/main linux-generic AMD64 3.19.0.18.17 [1.848 B]
Get:8 http://de.archive.ubuntu.com/ubuntu/ vivid/main thermald AMD64 1.3-9 [184 kB]
Fetched 65,5 MB in 12s (5.254 kB/s)                                            
Selecting previously unselected package linux-image-3.19.0-18-generic.
(Reading database ... 151653 files and directories currently installed.)
Preparing to unpack .../linux-image-3.19.0-18-generic_3.19.0-18.18_AMD64.deb ...
Done.
Unpacking linux-image-3.19.0-18-generic (3.19.0-18.18) ...
Selecting previously unselected package linux-image-extra-3.19.0-18-generic.
Preparing to unpack .../linux-image-extra-3.19.0-18-generic_3.19.0-18.18_AMD64.deb ...
Unpacking linux-image-extra-3.19.0-18-generic (3.19.0-18.18) ...
Selecting previously unselected package linux-image-generic.
Preparing to unpack .../linux-image-generic_3.19.0.18.17_AMD64.deb ...
Unpacking linux-image-generic (3.19.0.18.17) ...
Selecting previously unselected package linux-headers-3.19.0-18.
Preparing to unpack .../linux-headers-3.19.0-18_3.19.0-18.18_all.deb ...
Unpacking linux-headers-3.19.0-18 (3.19.0-18.18) ...
Selecting previously unselected package linux-headers-3.19.0-18-generic.
Preparing to unpack .../linux-headers-3.19.0-18-generic_3.19.0-18.18_AMD64.deb ...
Unpacking linux-headers-3.19.0-18-generic (3.19.0-18.18) ...
Selecting previously unselected package linux-headers-generic.
Preparing to unpack .../linux-headers-generic_3.19.0.18.17_AMD64.deb ...
Unpacking linux-headers-generic (3.19.0.18.17) ...
Selecting previously unselected package linux-generic.
Preparing to unpack .../linux-generic_3.19.0.18.17_AMD64.deb ...
Unpacking linux-generic (3.19.0.18.17) ...
Selecting previously unselected package thermald.
Preparing to unpack .../thermald_1.3-9_AMD64.deb ...
Unpacking thermald (1.3-9) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (219-7ubuntu5) ...
Processing triggers for dbus (1.8.12-1ubuntu5) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up linux-image-3.19.0-18-generic (3.19.0-18.18) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
update-initramfs: Generating /boot/initrd.img-3.19.0-18-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.19.0-18-generic
Found initrd image: /boot/initrd.img-3.19.0-18-generic
Found linux image: /boot/vmlinuz-3.16.0-38-generic
Found initrd image: /boot/initrd.img-3.16.0-38-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 8 (loader) on /dev/sda1
done
Setting up linux-image-extra-3.19.0-18-generic (3.19.0-18.18) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
update-initramfs: Generating /boot/initrd.img-3.19.0-18-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.19.0-18-generic
Found initrd image: /boot/initrd.img-3.19.0-18-generic
Found linux image: /boot/vmlinuz-3.16.0-38-generic
Found initrd image: /boot/initrd.img-3.16.0-38-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 8 (loader) on /dev/sda1
done
Setting up linux-image-generic (3.19.0.18.17) ...
Setting up linux-headers-3.19.0-18 (3.19.0-18.18) ...
Setting up linux-headers-3.19.0-18-generic (3.19.0-18.18) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.19.0-18-generic /boot/vmlinuz-3.19.0-18-generic
Setting up linux-headers-generic (3.19.0.18.17) ...
Setting up linux-generic (3.19.0.18.17) ...
Setting up thermald (1.3-9) ...
invoke-rc.d: Unit thermald.service is masked

たぶん、grubは更新されず、それが唯一の問題でした

3
Lis

カーネル3.19は何らかの理由でインストールされていません。走る

Sudo apt-get install linux-generic

修正されます。

3
Pilot6

リリースのアップグレードが中断された場合は、試してください

Sudo dpkg --configure -a
Sudo apt-get -f install

それでもブロックされる場合は、試してください

Sudo dpkg-reconfigure -phigh

それだけで結果が出ない場合は、リリースのアップグレードが行われていません。適切に起動するには:

Sudo apt-get autoclean
Sudo apt-get clean
Sudo apt update
Sudo do-release-upgrade

apt-get dist-upgradeは、リリースのアップグレードではなく、依存関係のあるパッケージのアップグレードにつながります。14.04以降では、混乱の少ない- Sudo apt full-upgrade依存関係があるアップグレードの場合)

1
nam1962