在目前没有互联网连接的情况下,我尝试使用 apt-offline。当我在终端中执行命令时,我收到“错误:致命:apt 系统出现问题”。有人告诉我这个问题可能是依赖问题。
所以我运行“apt-get -f install”并出现了一些依赖项。我尝试安装其中一些以便能够使用 apt-offline。
但是,问题是,似乎出现了更多的依赖关系。接下来的问题是:
问题:有没有办法“杀死”所有这些依赖项?想要以某种方式获得它们并能够使用 apt-offline 吗?
谢谢。
注:这些是命令:
1)
kwstas@debian:~$ su -c 'apt-offline set /tmp/apt-offline.sig'
Password:
Generating database of files that are needed for an update.
Generating database of files that are needed for an upgrade.
E: Unmet dependencies. Try using -f.
ERROR: FATAL: Something is wrong with the apt system.
2)然后我运行并得到:
kwstas@debian:~$ su -c 'apt-get -f install'
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
brasero brasero-cdrkit brasero-common dvdauthor freepats genisoimage
growisofs libexempi3 libfftw3-double3 libfluidsynth1 libgme0 libgmime-2.6-0
libgtkglext1 libiptcdata0 libmediaart-1.0-0 libmimic0 libmjpegutils-2.1-0
libmms0 libmpeg2encpp-2.1-0 libmpg123-0 libmplex2-2.1-0 libmusicbrainz5-1
libnautilus-extension1a libofa0 libopenal-data libopenal1
libopencv-calib3d2.4 libopencv-contrib2.4 libopencv-core2.4
libopencv-features2d2.4 libopencv-flann2.4 libopencv-highgui2.4
libopencv-imgproc2.4 libopencv-legacy2.4 libopencv-ml2.4
libopencv-objdetect2.4 libopencv-video2.4 libquvi-scripts libquvi7 libsbc1
libsoundtouch0 libspandsp2 libsrtp0 libtbb2 libtotem-plparser18
libtracker-sparql-1.0-0 libunistring0 libvo-aacenc0 libvo-amrwbenc0
libwildmidi-config libwildmidi1 libzbar0 sound-juicer wodim
Suggested packages:
vcdimager libdvdcss2 tracker readom cdrkit-doc libfftw3-bin libfftw3-dev
srtp-utils gstreamer1.0-lame gstreamer1.0-plugins-really-bad
Recommended packages:
yelp
The following packages will be REMOVED:
gstreamer1.0-plugins-bad
The following NEW packages will be installed:
brasero-cdrkit dvdauthor freepats genisoimage growisofs libexempi3
libfftw3-double3 libfluidsynth1 libgme0 libgmime-2.6-0 libgtkglext1
libiptcdata0 libmediaart-1.0-0 libmimic0 libmjpegutils-2.1-0 libmms0
libmpeg2encpp-2.1-0 libmpg123-0 libmplex2-2.1-0 libmusicbrainz5-1
libnautilus-extension1a libofa0 libopenal-data libopenal1
libopencv-calib3d2.4 libopencv-contrib2.4 libopencv-core2.4
libopencv-features2d2.4 libopencv-flann2.4 libopencv-highgui2.4
libopencv-imgproc2.4 libopencv-legacy2.4 libopencv-ml2.4
libopencv-objdetect2.4 libopencv-video2.4 libquvi-scripts libquvi7 libsbc1
libsoundtouch0 libspandsp2 libsrtp0 libtbb2 libtotem-plparser18
libtracker-sparql-1.0-0 libunistring0 libvo-aacenc0 libvo-amrwbenc0
libwildmidi-config libwildmidi1 libzbar0 wodim
The following packages will be upgraded:
brasero brasero-common sound-juicer
3 upgraded, 51 newly installed, 1 to remove and 2 not upgraded.
4 not fully installed or removed.
Need to get 43.2 MB of archives.
After this operation, 55.6 MB of additional disk space will be used.
Do you want to continue? [Y/n]
3)剩下的就是当我回答yes时:
Err http://ftp.cc.uoc.gr/mirrors/linux/debian/ jessie/main brasero i386 3.11.4-1.1
Could not resolve 'ftp.cc.uoc.gr'
Err http://ftp.cc.uoc.gr/mirrors/linux/debian/ jessie/main brasero-common all 3.11.4-1.1
Could not resolve 'ftp.cc.uoc.gr'
Err http://ftp.cc.uoc.gr/mirrors/linux/debian/ jessie/main libgmime-2.6-0 i386 2.6.20-1+b1
Could not resolve 'ftp.cc.uoc.gr'
Err http://ftp.cc.uoc.gr/mirrors/linux/debian/ jessie/main libquvi-scripts all 0.4.21-2
Could not resolve 'ftp.cc.uoc.gr'
。 。 。直到:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?