Public bug reported:

I have a build environment which I can't use anymore. I get some
dependency errors as follow:

The following packages have unmet dependencies:
 libexpat1-dev : Depends: libexpat1 (= 2.1.0-7) but 2.1.0-7ubuntu0.16.04.3 is 
to be installed
E: Unable to correct problems, you have held broken packages.

Thinking that something may be wrong with my existing pbuilder/xenial-
base.tgz file, I tried to create a new version with:

pbuilder-dist create xenial

That fails too. I get the following error:

The following packages have unmet dependencies:
 build-essential : Depends: gcc (>= 4:5.2) but it is not going to be installed
                   Depends: g++ (>= 4:5.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

IMPORTANT NOTE: I also tried after deleting the "pbuilder" folder, so
starting from scratch.

Another (possibly) relevant section from the attached logs:

Setting up dpkg (1.18.4ubuntu1.5) ...
(Reading database ... 12084 files and directories currently installed.)
Removing build-essential (12.1ubuntu2) ...
Removing g++ (4:5.3.1-1ubuntu1) ...
Removing g++-5 (5.3.1-14ubuntu2) ...
Removing gcc (4:5.3.1-1ubuntu1) ...
Removing gcc-5 (5.3.1-14ubuntu2) ...
(Reading database ... 11977 files and directories currently installed.)
Preparing to unpack .../cpp-5_5.4.0-6ubuntu1~16.04.11_amd64.deb ...

Here is a copy of my .pbuilderrc file which could have an effect on the
build?

# ccache
sudo mkdir -p /var/cache/pbuilder/ccache
sudo chmod a+w /var/cache/pbuilder/ccache
export CCACHE_DIR="/var/cache/pbuilder/ccache"
export PATH="/usr/lib/ccache:${PATH}"
HOOKDIR="/home/build/.pbuilder-hooks"
OTHERMIRROR="deb [trusted=yes] file:///home/build/pbuilder/${DIST}_result ./"
BINDMOUNTS="/home/build/pbuilder/${DIST}_result ${CCACHE_DIR}"
APTCACHEHARDLINK=no

My existing xenial-base.tgz has been working for a solid 2 years so I'm
not too sure what would have happened.

I found an interesting here: https://askubuntu.com/questions/937254
/cannot-install-build-essential-gcc-g-after-upgrade-to-17-04

Although it has not helped me with my pbuilder issues.

The very first error I get is this one:

pbuilder-dist: Warning: Distribution data outdated. Please check for an
update for distro-info-data. See /usr/share/doc/distro-info-
data/README.Debian for details.

However, I'm not too sure how I could update the distro-info-data more
that by getting the latest available in Ubuntu 16.04. My computer is
definitely up to date.

I found this other bug: https://bugs.launchpad.net/ubuntu/+source
/ubuntu-dev-tools/+bug/1068390 but it does not look like anything there
would help me.

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: packaging

** Attachment added: "Logs from pbuilder-dist create on Ubuntu 16.04"
   https://bugs.launchpad.net/bugs/1799859/+attachment/5205165/+files/create.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1799859

Title:
  "pbuilder-dist create xenial" fails (Unutu 16.04) since Oct 17, 2018

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1799859/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to