[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cross-debootstrap error



Hi all.

I have the following problem when I try to do crossdebootstrap of arm64 as specified in the following page of the wiki

https://wiki.debian.org/Arm64Qemu

I got stuck in the fourth step, after doing the specified i get the following error message

I: Running command: chroot debian_arm64_jessie/ /debootstrap/debootstrap --second-stage
I: Keyring file not available at /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror https://mirrors.kernel.org/debian
I: Installing core packages...
W: Failure trying to run:  dpkg --force-depends --install /var/cache/apt/archives/base-files_8+deb8u4_arm64.deb
W: See //debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/base-files_8+deb8u4_arm64.deb is at fault)

the content of the mentioned log is the following

gpgv: Signature made Sat Apr  2 04:56:05 2016 COT using RSA key ID 46925553
gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.or
g>"
gpgv: Signature made Sat Apr  2 04:56:05 2016 COT using RSA key ID 2B90D010
gpgv: Good signature from "Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>
"
gpgv: Signature made Sat Apr  2 05:02:07 2016 COT using RSA key ID 518E17E1
gpgv: Good signature from "Jessie Stable Release Key <debian-release@lists.debian.org>"
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg':
 missing description
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg':
 missing architecture
Selecting previously unselected package base-passwd.
(Reading database ... 0 files and directories currently installed.)
Preparing to unpack .../base-passwd_3.5.37_arm64.deb ...
Unpacking base-passwd (3.5.37) ...
dpkg: base-passwd: dependency problems, but configuring anyway as you requested:
 base-passwd depends on libc6 (>= 2.17); however:
  Package libc6 is not installed.
 base-passwd depends on libdebconfclient0 (>= 0.145); however:
  Package libdebconfclient0 is not installed.

Setting up base-passwd (3.5.37) ...
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 24 package 'dpkg':
 missing description
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 24 package 'dpkg':
 missing architecture
Selecting previously unselected package base-files.
dpkg: regarding .../base-files_8+deb8u4_arm64.deb containing base-files, pre-dependency problem:
 base-files pre-depends on awk
  awk is not installed.

dpkg: warning: ignoring pre-dependency problem!
(Reading database ... 41 files and directories currently installed.)
Preparing to unpack .../base-files_8+deb8u4_arm64.deb ...
Unpacking base-files (8+deb8u4) ...
dpkg: error processing archive /var/cache/apt/archives/base-files_8+deb8u4_arm64.deb (--install):
 symbolic link '/etc/os-release' size has changed from 50 to 21
Errors were encountered while processing:
 /var/cache/apt/archives/base-files_8+deb8u4_arm64.deb

It seems to be an integrity problem with base_files but after deleting it from the cache the problem persists.

Thanks in advance for any clue to solve this.


Reply to: