aptがlinux-image-3.8.11を削除しようとしています。

aptがlinux-image-3.8.11を削除しようとしています。

私はChromebookでCroutonを実行しています。パッケージをインストールしようとするaptたびにlinux-image-3.8.11。私の質問は、パッケージがインストールaptされるたびに削除せずにコンピュータを引き続き使用できるように、パッケージがインストールされていないかのように偽装する方法があるかどうかです。

ちょうど小包をキャッチしようとしましたが、今は理解できます。E: Can't find a source to download version '20160402' of 'linux-image-3.8.11:amd64'

aptパッケージがインストールされても削除されなかったと思います。このパッケージはカーネルアクセスなしでchrootで実行されているユーザースペースにあるため、実際にカーネルを変更することはできません。私が主にしたいことは、愚か者がパッケージがインストールされたと思うようにすることです。 EGは、インストールおよび/またはアンインストールスクリプトが何もせずに成功を報告するようにします。私は大丈夫です。

/var/lib/dpkg/status編集:パッケージのファイル内容は次のとおりです。

Package: linux-image-3.8.11
Status: deinstall ok half-installed
Priority: optional
Section: kernel
Installed-Size: 19919
Maintainer: Unknown Kernel Package Maintainer <[email protected]>
Architecture: amd64
Source: linux-source-3.8.11
Version: 20160402
Config-Version: 20160402
Provides: linux-image, linux-image-3.8
Depends: coreutils (>= 5.96), initramfs-tools | linux-initramfs-tool
Pre-Depends: debconf (>= 0.2.17) | debconf-2.0
Suggests: fdutils, linux-doc-3.8.11 | linux-source-3.8.11, ksymoops, linux-image-3.8.11-dbg
Description: Linux kernel binary image for version 3.8.11
 This package contains the Linux kernel image for version
 3.8.11.
 .
 It also contains the corresponding System.map file, and the modules
 built by the packager.  It also contains scripts that try to ensure
 that the system is not left in a unbootable state after an update.
 .
 Kernel image packages are generally produced using kernel-package,
 and it is suggested that you install that package if you wish to
 create a custom kernel from the sources. Please look at kernel-img.conf(5),
 and /usr/share/doc/kernel-package/README.gz  from the package kernel-package
 for details on how to tailor the  installation of this or any other kernel
 image package

deinstall ok half-installを別のものに変更できますか?

ベストアンサー1

linux-image-3.8.11私はパッケージ情報を削除しただけでうまくいく/var/lib/dpkg/statusようです。インストールがうまくいってcowsay問題が解決したようです。ありがとうございます。

おすすめ記事