救命啊,今天更新后虚拟机xp打不开了!

Kvm、VMware、Virtualbox、Xen、Qemu 等
头像
tangmumao_wefls
帖子: 2899
注册时间: 2011-02-11 14:09
系统: AnthonOS Next
来自: 在那不遥远的地方
联系:

Re: 救命啊,今天更新后虚拟机xp打不开了!

#16

帖子 tangmumao_wefls » 2012-11-17 21:36

fengzheng081212 写了:
tangmumao_wefls 写了:
fengzheng081212 写了:
smallapple 写了:
Your kernel headers for kernel 3.2.0-32-generic cannot be found
把相应的headers装上
请教下怎么装呢?
sudo aptitude install linux-headers-3.2.0-32-generic

Sent from my Lenovo A789 using Tapatalk 2
提示 zhang@zhang-G31M-ES2C:~$ sudo apt-get install linux-headers-3.2.0-32-generic
[sudo] password for zhang:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 linux-headers-3.2.0-32-generic
E: 无法按照正则表达式 linux-headers-3.2.0-32-generic 找到任何软件包
zhang@zhang-G31M-ES2C:~$
什么原因啊
sudo aptitude search linux-headers
贴结果

Sent from my Lenovo A789 using Tapatalk 2
fengzheng081212
帖子: 210
注册时间: 2012-01-08 11:27

Re: 救命啊,今天更新后虚拟机xp打不开了!

#17

帖子 fengzheng081212 » 2012-11-17 21:42

zhang@zhang-G31M-ES2C:~$ sudo aptitude search linux-headers
[sudo] password for zhang:
sudo: aptitude:找不到命令
zhang@zhang-G31M-ES2C:~$

:em19
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 救命啊,今天更新后虚拟机xp打不开了!

#18

帖子 YeLee » 2012-11-17 21:44

这时候你应该用apt-cache确定一下包名的…… :em20
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
fengzheng081212
帖子: 210
注册时间: 2012-01-08 11:27

Re: 救命啊,今天更新后虚拟机xp打不开了!

#19

帖子 fengzheng081212 » 2012-11-17 21:47

YeLee 写了:这时候你应该用apt-cache确定一下包名的…… :em20
zhang@zhang-G31M-ES2C:~$ apt-cache
apt 0.9.7.5ubuntu5,用于 amd64 构架,编译于 Oct 16 2012 10:57:10
Usage: apt-cache [options] command
apt-cache [options] showpkg pkg1 [pkg2 ...]
apt-cache [options] showsrc pkg1 [pkg2 ...]

apt-cache is a low-level tool used to query information
from APT's binary cache files

Commands:
gencaches - Build both the package and source cache
showpkg - Show some general information for a single package
showsrc - Show source records
stats - Show some basic statistics
dump - Show the entire file in a terse form
dumpavail - Print an available file to stdout
unmet - Show unmet dependencies
search - Search the package list for a regex pattern
show - Show a readable record for the package
depends - Show raw dependency information for a package
rdepends - Show reverse dependency information for a package
pkgnames - List the names of all packages in the system
dotty - Generate package graphs for GraphViz
xvcg - Generate package graphs for xvcg
policy - Show policy settings

Options:
-h This help text.
-p=? The package cache.
-s=? The source cache.
-q Disable progress indicator.
-i Show only important deps for the unmet command.
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
zhang@zhang-G31M-ES2C:~$
麻烦看看~是什么意思啊
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 救命啊,今天更新后虚拟机xp打不开了!

#20

帖子 YeLee » 2012-11-17 21:52

那是usage……我能看什么…… :em20 :em20 :em20
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
头像
tangmumao_wefls
帖子: 2899
注册时间: 2011-02-11 14:09
系统: AnthonOS Next
来自: 在那不遥远的地方
联系:

Re: 救命啊,今天更新后虚拟机xp打不开了!

#21

帖子 tangmumao_wefls » 2012-11-17 21:52

fengzheng081212 写了:
YeLee 写了:这时候你应该用apt-cache确定一下包名的…… :em20
zhang@zhang-G31M-ES2C:~$ apt-cache
apt 0.9.7.5ubuntu5,用于 amd64 构架,编译于 Oct 16 2012 10:57:10
Usage: apt-cache [options] command
apt-cache [options] showpkg pkg1 [pkg2 ...]
apt-cache [options] showsrc pkg1 [pkg2 ...]

apt-cache is a low-level tool used to query information
from APT's binary cache files

Commands:
gencaches - Build both the package and source cache
showpkg - Show some general information for a single package
showsrc - Show source records
stats - Show some basic statistics
dump - Show the entire file in a terse form
dumpavail - Print an available file to stdout
unmet - Show unmet dependencies
search - Search the package list for a regex pattern
show - Show a readable record for the package
depends - Show raw dependency information for a package
rdepends - Show reverse dependency information for a package
pkgnames - List the names of all packages in the system
dotty - Generate package graphs for GraphViz
xvcg - Generate package graphs for xvcg
policy - Show policy settings

Options:
-h This help text.
-p=? The package cache.
-s=? The source cache.
-q Disable progress indicator.
-i Show only important deps for the unmet command.
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
zhang@zhang-G31M-ES2C:~$
麻烦看看~是什么意思啊
那么输这个,贴结果
sudo apt-cache search linux-headers

Sent from my Lenovo A789 using Tapatalk 2
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 救命啊,今天更新后虚拟机xp打不开了!

#22

帖子 YeLee » 2012-11-17 21:54

亲,真棒,弄个apt-cache连sudo都要了,这年头没个权限真什么都干不了啊。 :em01 :em01 :em01
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
fengzheng081212
帖子: 210
注册时间: 2012-01-08 11:27

Re: 救命啊,今天更新后虚拟机xp打不开了!

#23

帖子 fengzheng081212 » 2012-11-17 21:55

tangmumao_wefls 写了:
fengzheng081212 写了:
YeLee 写了:这时候你应该用apt-cache确定一下包名的…… :em20
zhang@zhang-G31M-ES2C:~$ apt-cache
apt 0.9.7.5ubuntu5,用于 amd64 构架,编译于 Oct 16 2012 10:57:10
Usage: apt-cache [options] command
apt-cache [options] showpkg pkg1 [pkg2 ...]
apt-cache [options] showsrc pkg1 [pkg2 ...]

apt-cache is a low-level tool used to query information
from APT's binary cache files

Commands:
gencaches - Build both the package and source cache
showpkg - Show some general information for a single package
showsrc - Show source records
stats - Show some basic statistics
dump - Show the entire file in a terse form
dumpavail - Print an available file to stdout
unmet - Show unmet dependencies
search - Search the package list for a regex pattern
show - Show a readable record for the package
depends - Show raw dependency information for a package
rdepends - Show reverse dependency information for a package
pkgnames - List the names of all packages in the system
dotty - Generate package graphs for GraphViz
xvcg - Generate package graphs for xvcg
policy - Show policy settings

Options:
-h This help text.
-p=? The package cache.
-s=? The source cache.
-q Disable progress indicator.
-i Show only important deps for the unmet command.
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
zhang@zhang-G31M-ES2C:~$
麻烦看看~是什么意思啊
那么输这个,贴结果
sudo apt-cache search linux-headers

Sent from my Lenovo A789 using Tapatalk 2
高人请看看,谢谢了
zhang@zhang-G31M-ES2C:~$ sudo apt-cache search linux-headers
linux-headers-3.5.0-17 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-17-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-generic - Generic Linux kernel headers
linux-headers-server - Transitional package.
linux-headers-virtual - Transitional package.
linux-libc-dev - Linux Kernel Headers for development
linux-source-3.5.0 - Linux kernel source for version 3.5.0 with Ubuntu patches
linux-virtual - Minimal Generic Linux kernel and headers
linux-headers-generic-pae - Transitional package
linux-headers-3.5.0-17-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency - lowlatency Linux kernel headers
linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)
linux-headers-3.5.0-18 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-18-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-18-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.5.0-18-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency-pae - Transitional package
linux-headers-3.5.0-19 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-19-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-17-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-lbm-3.5.0-19-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.2.33-030233-generic - Linux kernel headers for version 3.2.33 on 64 bit x86 SMP
linux-headers-3.2.33-030233 - Header files related to Linux kernel version 3.2.33
zhang@zhang-G31M-ES2C:~$
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 救命啊,今天更新后虚拟机xp打不开了!

#24

帖子 YeLee » 2012-11-17 21:56

tangmumao_wefls, 好少年,顺便叫楼主给内核包名吧。
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
头像
tangmumao_wefls
帖子: 2899
注册时间: 2011-02-11 14:09
系统: AnthonOS Next
来自: 在那不遥远的地方
联系:

Re: 救命啊,今天更新后虚拟机xp打不开了!

#25

帖子 tangmumao_wefls » 2012-11-17 21:57

fengzheng081212 写了:
tangmumao_wefls 写了:
fengzheng081212 写了:
YeLee 写了:这时候你应该用apt-cache确定一下包名的…… :em20
zhang@zhang-G31M-ES2C:~$ apt-cache
apt 0.9.7.5ubuntu5,用于 amd64 构架,编译于 Oct 16 2012 10:57:10
Usage: apt-cache [options] command
apt-cache [options] showpkg pkg1 [pkg2 ...]
apt-cache [options] showsrc pkg1 [pkg2 ...]

apt-cache is a low-level tool used to query information
from APT's binary cache files

Commands:
gencaches - Build both the package and source cache
showpkg - Show some general information for a single package
showsrc - Show source records
stats - Show some basic statistics
dump - Show the entire file in a terse form
dumpavail - Print an available file to stdout
unmet - Show unmet dependencies
search - Search the package list for a regex pattern
show - Show a readable record for the package
depends - Show raw dependency information for a package
rdepends - Show reverse dependency information for a package
pkgnames - List the names of all packages in the system
dotty - Generate package graphs for GraphViz
xvcg - Generate package graphs for xvcg
policy - Show policy settings

Options:
-h This help text.
-p=? The package cache.
-s=? The source cache.
-q Disable progress indicator.
-i Show only important deps for the unmet command.
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
zhang@zhang-G31M-ES2C:~$
麻烦看看~是什么意思啊
那么输这个,贴结果
sudo apt-cache search linux-headers

Sent from my Lenovo A789 using Tapatalk 2
高人请看看,谢谢了
zhang@zhang-G31M-ES2C:~$ sudo apt-cache search linux-headers
linux-headers-3.5.0-17 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-17-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-generic - Generic Linux kernel headers
linux-headers-server - Transitional package.
linux-headers-virtual - Transitional package.
linux-libc-dev - Linux Kernel Headers for development
linux-source-3.5.0 - Linux kernel source for version 3.5.0 with Ubuntu patches
linux-virtual - Minimal Generic Linux kernel and headers
linux-headers-generic-pae - Transitional package
linux-headers-3.5.0-17-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency - lowlatency Linux kernel headers
linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)
linux-headers-3.5.0-18 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-18-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-18-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.5.0-18-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency-pae - Transitional package
linux-headers-3.5.0-19 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-19-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-17-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-lbm-3.5.0-19-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.2.33-030233-generic - Linux kernel headers for version 3.2.33 on 64 bit x86 SMP
linux-headers-3.2.33-030233 - Header files related to Linux kernel version 3.2.33
zhang@zhang-G31M-ES2C:~$
帮忙,输下
uname -a
贴结果

Sent from my Lenovo A789 using Tapatalk 2
fengzheng081212
帖子: 210
注册时间: 2012-01-08 11:27

Re: 救命啊,今天更新后虚拟机xp打不开了!

#26

帖子 fengzheng081212 » 2012-11-17 22:04

tangmumao_wefls 写了:
fengzheng081212 写了:
tangmumao_wefls 写了:
fengzheng081212 写了:
YeLee 写了:这时候你应该用apt-cache确定一下包名的…… :em20
zhang@zhang-G31M-ES2C:~$ apt-cache
apt 0.9.7.5ubuntu5,用于 amd64 构架,编译于 Oct 16 2012 10:57:10
Usage: apt-cache [options] command
apt-cache [options] showpkg pkg1 [pkg2 ...]
apt-cache [options] showsrc pkg1 [pkg2 ...]

apt-cache is a low-level tool used to query information
from APT's binary cache files

Commands:
gencaches - Build both the package and source cache
showpkg - Show some general information for a single package
showsrc - Show source records
stats - Show some basic statistics
dump - Show the entire file in a terse form
dumpavail - Print an available file to stdout
unmet - Show unmet dependencies
search - Search the package list for a regex pattern
show - Show a readable record for the package
depends - Show raw dependency information for a package
rdepends - Show reverse dependency information for a package
pkgnames - List the names of all packages in the system
dotty - Generate package graphs for GraphViz
xvcg - Generate package graphs for xvcg
policy - Show policy settings

Options:
-h This help text.
-p=? The package cache.
-s=? The source cache.
-q Disable progress indicator.
-i Show only important deps for the unmet command.
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
zhang@zhang-G31M-ES2C:~$
麻烦看看~是什么意思啊
那么输这个,贴结果
sudo apt-cache search linux-headers

Sent from my Lenovo A789 using Tapatalk 2
高人请看看,谢谢了
zhang@zhang-G31M-ES2C:~$ sudo apt-cache search linux-headers
linux-headers-3.5.0-17 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-17-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-generic - Generic Linux kernel headers
linux-headers-server - Transitional package.
linux-headers-virtual - Transitional package.
linux-libc-dev - Linux Kernel Headers for development
linux-source-3.5.0 - Linux kernel source for version 3.5.0 with Ubuntu patches
linux-virtual - Minimal Generic Linux kernel and headers
linux-headers-generic-pae - Transitional package
linux-headers-3.5.0-17-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency - lowlatency Linux kernel headers
linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)
linux-headers-3.5.0-18 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-18-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-18-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.5.0-18-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency-pae - Transitional package
linux-headers-3.5.0-19 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-19-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-17-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-lbm-3.5.0-19-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.2.33-030233-generic - Linux kernel headers for version 3.2.33 on 64 bit x86 SMP
linux-headers-3.2.33-030233 - Header files related to Linux kernel version 3.2.33
zhang@zhang-G31M-ES2C:~$
帮忙,输下
uname -a
贴结果

Sent from my Lenovo A789 using Tapatalk 2
zhang@zhang-G31M-ES2C:~$ uname -a
Linux zhang-G31M-ES2C 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
zhang@zhang-G31M-ES2C:~$
头像
tangmumao_wefls
帖子: 2899
注册时间: 2011-02-11 14:09
系统: AnthonOS Next
来自: 在那不遥远的地方
联系:

Re: 救命啊,今天更新后虚拟机xp打不开了!

#27

帖子 tangmumao_wefls » 2012-11-17 22:12

fengzheng081212 写了:
tangmumao_wefls 写了:
fengzheng081212 写了:
tangmumao_wefls 写了:
fengzheng081212 写了:
YeLee 写了:这时候你应该用apt-cache确定一下包名的…… :em20
zhang@zhang-G31M-ES2C:~$ apt-cache
apt 0.9.7.5ubuntu5,用于 amd64 构架,编译于 Oct 16 2012 10:57:10
Usage: apt-cache [options] command
apt-cache [options] showpkg pkg1 [pkg2 ...]
apt-cache [options] showsrc pkg1 [pkg2 ...]

apt-cache is a low-level tool used to query information
from APT's binary cache files

Commands:
gencaches - Build both the package and source cache
showpkg - Show some general information for a single package
showsrc - Show source records
stats - Show some basic statistics
dump - Show the entire file in a terse form
dumpavail - Print an available file to stdout
unmet - Show unmet dependencies
search - Search the package list for a regex pattern
show - Show a readable record for the package
depends - Show raw dependency information for a package
rdepends - Show reverse dependency information for a package
pkgnames - List the names of all packages in the system
dotty - Generate package graphs for GraphViz
xvcg - Generate package graphs for xvcg
policy - Show policy settings

Options:
-h This help text.
-p=? The package cache.
-s=? The source cache.
-q Disable progress indicator.
-i Show only important deps for the unmet command.
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
zhang@zhang-G31M-ES2C:~$
麻烦看看~是什么意思啊
那么输这个,贴结果
sudo apt-cache search linux-headers

Sent from my Lenovo A789 using Tapatalk 2
高人请看看,谢谢了
zhang@zhang-G31M-ES2C:~$ sudo apt-cache search linux-headers
linux-headers-3.5.0-17 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-17-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-generic - Generic Linux kernel headers
linux-headers-server - Transitional package.
linux-headers-virtual - Transitional package.
linux-libc-dev - Linux Kernel Headers for development
linux-source-3.5.0 - Linux kernel source for version 3.5.0 with Ubuntu patches
linux-virtual - Minimal Generic Linux kernel and headers
linux-headers-generic-pae - Transitional package
linux-headers-3.5.0-17-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency - lowlatency Linux kernel headers
linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)
linux-headers-3.5.0-18 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-18-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-18-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.5.0-18-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency-pae - Transitional package
linux-headers-3.5.0-19 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-19-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-17-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-lbm-3.5.0-19-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.2.33-030233-generic - Linux kernel headers for version 3.2.33 on 64 bit x86 SMP
linux-headers-3.2.33-030233 - Header files related to Linux kernel version 3.2.33
zhang@zhang-G31M-ES2C:~$
帮忙,输下
uname -a
贴结果

Sent from my Lenovo A789 using Tapatalk 2
zhang@zhang-G31M-ES2C:~$ uname -a
Linux zhang-G31M-ES2C 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
zhang@zhang-G31M-ES2C:~$
你这还要升级内核,你现在内核源里面的已经没有headers了
sudo apt-get update
sudo apt-get install linux-headers-3.2.33-030233-generic linux-image-3.2.33-030233-generic
然后重启,用3.2.33-030233内核启动系统,再运行你之前VirtualBox要你在终端运行的命令

Sent from my Lenovo A789 using Tapatalk 2
fengzheng081212
帖子: 210
注册时间: 2012-01-08 11:27

Re: 救命啊,今天更新后虚拟机xp打不开了!

#28

帖子 fengzheng081212 » 2012-11-17 22:29

tangmumao_wefls 写了:
fengzheng081212 写了:
tangmumao_wefls 写了:
fengzheng081212 写了:
tangmumao_wefls 写了:
fengzheng081212 写了:
YeLee 写了:这时候你应该用apt-cache确定一下包名的…… :em20
zhang@zhang-G31M-ES2C:~$ apt-cache
apt 0.9.7.5ubuntu5,用于 amd64 构架,编译于 Oct 16 2012 10:57:10
Usage: apt-cache [options] command
apt-cache [options] showpkg pkg1 [pkg2 ...]
apt-cache [options] showsrc pkg1 [pkg2 ...]

apt-cache is a low-level tool used to query information
from APT's binary cache files

Commands:
gencaches - Build both the package and source cache
showpkg - Show some general information for a single package
showsrc - Show source records
stats - Show some basic statistics
dump - Show the entire file in a terse form
dumpavail - Print an available file to stdout
unmet - Show unmet dependencies
search - Search the package list for a regex pattern
show - Show a readable record for the package
depends - Show raw dependency information for a package
rdepends - Show reverse dependency information for a package
pkgnames - List the names of all packages in the system
dotty - Generate package graphs for GraphViz
xvcg - Generate package graphs for xvcg
policy - Show policy settings

Options:
-h This help text.
-p=? The package cache.
-s=? The source cache.
-q Disable progress indicator.
-i Show only important deps for the unmet command.
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
zhang@zhang-G31M-ES2C:~$
麻烦看看~是什么意思啊
那么输这个,贴结果
sudo apt-cache search linux-headers

Sent from my Lenovo A789 using Tapatalk 2
高人请看看,谢谢了
zhang@zhang-G31M-ES2C:~$ sudo apt-cache search linux-headers
linux-headers-3.5.0-17 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-17-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-generic - Generic Linux kernel headers
linux-headers-server - Transitional package.
linux-headers-virtual - Transitional package.
linux-libc-dev - Linux Kernel Headers for development
linux-source-3.5.0 - Linux kernel source for version 3.5.0 with Ubuntu patches
linux-virtual - Minimal Generic Linux kernel and headers
linux-headers-generic-pae - Transitional package
linux-headers-3.5.0-17-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency - lowlatency Linux kernel headers
linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)
linux-headers-3.5.0-18 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-18-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-18-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.5.0-18-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency-pae - Transitional package
linux-headers-3.5.0-19 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-19-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-17-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-lbm-3.5.0-19-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.2.33-030233-generic - Linux kernel headers for version 3.2.33 on 64 bit x86 SMP
linux-headers-3.2.33-030233 - Header files related to Linux kernel version 3.2.33
zhang@zhang-G31M-ES2C:~$
帮忙,输下
uname -a
贴结果

Sent from my Lenovo A789 using Tapatalk 2
zhang@zhang-G31M-ES2C:~$ uname -a
Linux zhang-G31M-ES2C 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
zhang@zhang-G31M-ES2C:~$
你这还要升级内核,你现在内核源里面的已经没有headers了
sudo apt-get update
sudo apt-get install linux-headers-3.2.33-030233-generic linux-image-3.2.33-030233-generic
然后重启,用3.2.33-030233内核启动系统,再运行你之前VirtualBox要你在终端运行的命令

Sent from my Lenovo A789 using Tapatalk 2
谢谢好人啊!现在提示这个,帮忙看看
zhang@zhang-G31M-ES2C:~$ sudo apt-get install linux-headers-3.2.33-030233-generic linux-image-3.2.33-030233-generic
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
linux-headers-3.2.33-030233-generic 已经是最新的版本了。
linux-image-3.2.33-030233-generic 已经是最新的版本了。
升级了 0 个软件包,新安装了 0 个软件包, 要卸载 0 个软件包,有 0 个软件包未被升级。
zhang@zhang-G31M-ES2C:~$
zhang@zhang-G31M-ES2C:~$ sudo /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel modules [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS Error! Your kernel headers for kernel 3.2.0-32-generic cannot be found.
Please install the linux-headers-3.2.0-32-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located

* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules
* Look at /var/log/vbox-install.log to find out what went wrong
zhang@zhang-G31M-ES2C:~$
头像
tangmumao_wefls
帖子: 2899
注册时间: 2011-02-11 14:09
系统: AnthonOS Next
来自: 在那不遥远的地方
联系:

Re: 救命啊,今天更新后虚拟机xp打不开了!

#29

帖子 tangmumao_wefls » 2012-11-18 0:04

tangmumao_wefls 写了:
fengzheng081212 写了:
tangmumao_wefls 写了:
fengzheng081212 写了:
tangmumao_wefls 写了:
fengzheng081212 写了:
YeLee 写了:这时候你应该用apt-cache确定一下包名的…… :em20
zhang@zhang-G31M-ES2C:~$ apt-cache
apt 0.9.7.5ubuntu5,用于 amd64 构架,编译于 Oct 16 2012 10:57:10
Usage: apt-cache [options] command
apt-cache [options] showpkg pkg1 [pkg2 ...]
apt-cache [options] showsrc pkg1 [pkg2 ...]

apt-cache is a low-level tool used to query information
from APT's binary cache files

Commands:
gencaches - Build both the package and source cache
showpkg - Show some general information for a single package
showsrc - Show source records
stats - Show some basic statistics
dump - Show the entire file in a terse form
dumpavail - Print an available file to stdout
unmet - Show unmet dependencies
search - Search the package list for a regex pattern
show - Show a readable record for the package
depends - Show raw dependency information for a package
rdepends - Show reverse dependency information for a package
pkgnames - List the names of all packages in the system
dotty - Generate package graphs for GraphViz
xvcg - Generate package graphs for xvcg
policy - Show policy settings

Options:
-h This help text.
-p=? The package cache.
-s=? The source cache.
-q Disable progress indicator.
-i Show only important deps for the unmet command.
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
zhang@zhang-G31M-ES2C:~$
麻烦看看~是什么意思啊
那么输这个,贴结果
sudo apt-cache search linux-headers

Sent from my Lenovo A789 using Tapatalk 2
高人请看看,谢谢了
zhang@zhang-G31M-ES2C:~$ sudo apt-cache search linux-headers
linux-headers-3.5.0-17 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-17-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-generic - Generic Linux kernel headers
linux-headers-server - Transitional package.
linux-headers-virtual - Transitional package.
linux-libc-dev - Linux Kernel Headers for development
linux-source-3.5.0 - Linux kernel source for version 3.5.0 with Ubuntu patches
linux-virtual - Minimal Generic Linux kernel and headers
linux-headers-generic-pae - Transitional package
linux-headers-3.5.0-17-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency - lowlatency Linux kernel headers
linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)
linux-headers-3.5.0-18 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-18-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-18-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.5.0-18-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency-pae - Transitional package
linux-headers-3.5.0-19 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-19-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-17-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-lbm-3.5.0-19-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.2.33-030233-generic - Linux kernel headers for version 3.2.33 on 64 bit x86 SMP
linux-headers-3.2.33-030233 - Header files related to Linux kernel version 3.2.33
zhang@zhang-G31M-ES2C:~$
帮忙,输下
uname -a
贴结果

Sent from my Lenovo A789 using Tapatalk 2
zhang@zhang-G31M-ES2C:~$ uname -a
Linux zhang-G31M-ES2C 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
zhang@zhang-G31M-ES2C:~$
你这还要升级内核,你现在内核源里面的已经没有headers了
sudo apt-get update
sudo apt-get install linux-headers-3.2.33-030233-generic linux-image-3.2.33-030233-generic
然后重启,用3.2.33-030233内核启动系统,再运行你之前VirtualBox要你在终端运行的命令

Sent from my Lenovo A789 using Tapatalk 2
额,好吧,这事以前Fedora出过……
sudo apt-get install linux-headers-3.5.0-19-generic linux-image-3.5.0-19-generic
sudo apt-get purge linux-headers-3.2.33-030233-generic linux-image-3.2.33-030233-generic
用3.5.0-19内核启动系统,运行VBox要你运行的命令,有错误贴上来

Sent from my Lenovo A789 using Tapatalk 2
fengzheng081212
帖子: 210
注册时间: 2012-01-08 11:27

Re: 救命啊,今天更新后虚拟机xp打不开了!

#30

帖子 fengzheng081212 » 2012-11-18 1:26

[/quote]
额,好吧,这事以前Fedora出过……
sudo apt-get install linux-headers-3.5.0-19-generic linux-image-3.5.0-19-generic
sudo apt-get purge linux-headers-3.2.33-030233-generic linux-image-3.2.33-030233-generic
用3.5.0-19内核启动系统,运行VBox要你运行的命令,有错误贴上来

Sent from my Lenovo A789 using Tapatalk 2[/quote]
启动项没有3.5.0-19内核,启动后还是 3.2.0-32-generic的内核 ,旧内核里面还有一个 3.2.0-29-generic的没法 启动,应该是用ubuntutweak删掉了
回复