Error ocurring whileprocessing some packages.
shows this message-
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu zlib Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the output of:
sudo apt-get update; sudo apt-get install lib32z1-dev
Thanks
Revision history for this message
|
#2 |
suod apt-get update gave an error-
W: Failed to fetch cdrom://Ubuntu 15.10 _Wily Werewolf_ - Release amd64
(20151021)
make this CD-ROM recognized by APT. apt-get update cannot be used to add
new CD-ROMs
W: Failed to fetch cdrom://Ubuntu 15.10 _Wily Werewolf_ - Release amd64
(20151021)
apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be
used to add new CD-ROMs
W: Failed to fetch cdrom://Ubuntu 15.10 _Wily Werewolf_ - Release amd64
(20151021)
make this CD-ROM recognized by APT. apt-get update cannot be used to add
new CD-ROMs
W: Failed to fetch cdrom://Ubuntu 15.10 _Wily Werewolf_ - Release amd64
(20151021)
to make this CD-ROM recognized by APT. apt-get update cannot be used to add
new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones
used instead.
-------
On Sun, Apr 10, 2016 at 9:52 PM, actionparsnip <
<email address hidden>> wrote:
> Your question #290379 on zlib in Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What is the output of:
>
> sudo apt-get update; sudo apt-get install lib32z1-dev
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#3 |
You have to disable the installation DVD as a source for installing software.
Use the system settings - software dialogue to untick the installation CD on the first or second tabs
see http://
Then try running the commands
sudo apt-get update; sudo apt-get install lib32z1-dev
again and copy/paste the full output that we can check.
Revision history for this message
|
#4 |
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
linux-
linux-
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
lib32z1-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
103 not fully installed or removed.
Need to get 0 B/54.7 kB of archives.
After this operation, 188 kB of additional disk space will be used.
(Reading database ... 252437 files and directories currently installed.)
Preparing to unpack .../lib32z1-
Unpacking lib32z1-dev (1:1.2.
dpkg: error processing archive
/var/cache/
(--unpack):
trying to overwrite '/usr/include/
in package zlib1g-dev:i386 1:1.2.8.
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
kruti@kruti-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
linux-
linux-
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
lib32z1-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
103 not fully installed or removed.
Need to get 0 B/54.7 kB of archives.
After this operation, 188 kB of additional disk space will be used.
(Reading database ... 252437 files and directories currently installed.)
Preparing to unpack .../lib32z1-
Unpacking lib32z1-dev (1:1.2.
dpkg: error processing archive
/var/cache/
(--unpack):
trying to overwrite '/usr/include/
in package zlib1g-dev:i386 1:1.2.8.
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
On Mon, Apr 11, 2016 at 9:38 PM, Manfred Hampl <
<email address hidden>> wrote:
> Your question #290379 on zlib in Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> You have to disable the installation DVD as a source for installing
> software.
>
> Use the system settings - software dialogue to untick the installation
> CD on the first or second tabs
>
> see http://
> content/
> http://
>
> Then try running the commands
>
> sudo apt-get update; sudo apt-get install lib32z1-dev
>
> again and copy/paste the full output that we can check.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#5 |
This is a known bug 1512992
Try the command
sudo apt-get -o Dpkg::Options:
and report the result
Revision history for this message
|
#6 |
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
linux-
linux-
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
lib32z1-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
103 not fully installed or removed.
Need to get 0 B/54.7 kB of archives.
After this operation, 188 kB of additional disk space will be used.
(Reading database ... 252437 files and directories currently installed.)
Preparing to unpack .../lib32z1-
Unpacking lib32z1-dev (1:1.2.
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/include/
which is also in package zlib1g-dev:i386 1:1.2.8.
Setting up ant (1.9.6-1ubuntu1) ...
Setting up ant-optional (1.9.6-1ubuntu1) ...
Setting up libbsh-java (2.0b4-
Setting up libjline-java (1.0-2) ...
Setting up bsh (2.0b4-
Setting up lib32stdc++-5-dev (5.2.1-22ubuntu2) ...
Setting up libx32stdc++-5-dev (5.2.1-22ubuntu2) ...
Setting up g++-5-multilib (5.2.1-22ubuntu2) ...
Setting up g++-multilib (4:5.2.1-3ubuntu1) ...
Setting up junit (3.8.2-8build1) ...
Setting up libhamcrest-java (1.3-5ubuntu1) ...
Setting up junit4 (4.12-2ubuntu1) ...
Setting up lib32readline6 (6.3-8ubuntu1) ...
Setting up lib32readline6-dev (6.3-8ubuntu1) ...
Setting up libapache-pom-java (10-2build1) ...
Setting up libasm3-java (3.3.2-2) ...
Setting up libasm4-java (5.0.4-1) ...
Setting up libatinject-
Setting up libgeronimo-
Setting up libservlet3.1-java (8.0.26-1) ...
Setting up libcdi-api-java (1.0-2) ...
Setting up libcglib3-java (3.1+dfsg-1) ...
Setting up libclassworlds-java (1.1-final-5) ...
Setting up libcommons-
Setting up libcommons-cli-java (1.3.1-2ubuntu1) ...
Setting up libcommons-
Setting up libcommons-
Setting up libcommons-
Setting up libcommons-
Setting up libcommons-io-java (2.4-2) ...
Setting up libcommons-
Setting up libjaxen-java (1.1.6-1ubuntu1) ...
Setting up libxpp2-java (2.1.10-7build1) ...
Setting up libxpp3-java (1.1.4c-2build1) ...
Setting up libdom4j-java (1.6.1+
Setting up libhttpcore-java (4.4.1-1) ...
Setting up libhttpclient-java (4.4.1-1) ...
Setting up libjaxp1.3-java (1.3.05-2ubuntu3) ...
Setting up libxml-
Setting up libxml-
Setting up libxerces2-java (2.11.0-7) ...
Setting up libxalan2-java (2.7.1-9) ...
Setting up libplexus-
Setting up libplexus-
Setting up libdoxia-core-java (1.1.4-3ubuntu1) ...
Setting up libobjenesis-java (2.1-2) ...
Setting up libeasymock-java (3.3.1+ds-3) ...
Setting up libslf4j-java (1.7.12-2) ...
Setting up libjsch-java (0.1.53-1ubuntu1) ...
Setting up libjsoup-java (1.8.3-1) ...
Setting up libjsr305-java (0.1~+svn49-9) ...
Setting up libguava-java (18.0-4ubuntu1) ...
Setting up libplexus-
Setting up libxbean-java (4.3-2) ...
Setting up libplexus-
Setting up libplexus-
Setting up libwagon-java (1.0.0-7) ...
Setting up libeclipse-
Setting up libganymed-
Setting up libaopalliance-java (20070526-5) ...
Setting up libguice-java (4.0~beta5-1) ...
Setting up libjackrabbit-java (2.10.1-1) ...
Setting up libjdom1-java (1.1.3-1) ...
Setting up libservlet2.5-java (6.0.41-4) ...
Setting up libjetty-java (6.1.26-5) ...
Setting up libjna-jni (4.2.0-1) ...
Setting up libjna-java (4.2.0-1) ...
Setting up libjna-
Setting up libjsch-
Setting up liblog4j1.2-java (1.2.17-6ubuntu1) ...
Setting up libmaven-
Setting up libplexus-
Setting up libplexus-
Setting up libplexus-io-java (1.0~alpha5-2) ...
Setting up libplexus-
Setting up libplexus-
Setting up libplexus-
Setting up libplexus-
Setting up libmaven2-core-java (2.2.1-22) ...
Setting up libnetbeans-
Setting up libregexp-java (1.5-3build1) ...
Setting up libmaven-scm-java (1.3-5) ...
Setting up libplexus-
Setting up libplexus-cli-java (1.2-5) ...
Setting up libplexus-
Setting up libqdox-java (1.12-1build1) ...
Setting up libplexus-
Setting up libsisu-guice-java (3.2.4-1) ...
Setting up libsisu-inject-java (0.3.1-2) ...
Setting up libsisu-plexus-java (0.3.1-2) ...
Setting up libwagon2-java (2.7-1) ...
Setting up libmaven3-core-java (3.3.3-3) ...
Setting up libwxbase2.
Setting up wx2.8-headers (2.8.12.
Setting up libwxbase2.8-dev (2.8.12.
Setting up libwxgtk2.8-0:amd64 (2.8.12.
Setting up libwxgtk2.8-dev (2.8.12.
Setting up libxml2-utils (2.9.2+
Setting up libxom-java (1.2.10-1) ...
Setting up maven (3.3.3-3) ...
update-
(mvn) in auto mode
Setting up xsltproc (1.1.28-2build2) ...
Setting up liblz4-1:amd64 (0.0~r131-1) ...
Setting up liblz4-tool (0.0~r131-1) ...
Setting up lib32z1-dev (1:1.2.
Processing triggers for libc-bin (2.21-0ubuntu4.1) ...
On Mon, Apr 11, 2016 at 11:02 PM, Manfred Hampl <
<email address hidden>> wrote:
> Your question #290379 on zlib in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> This is a known bug 1512992
>
> Try the command
>
> sudo apt-get -o Dpkg::Options:
>
> and report the result
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#7 |
This looks fine, all packages have been successfully installed.
Unless there is some additional problem or error message popping you, you might mark this question document as "solved".
Revision history for this message
|
#8 |
Thanks Manfred Hampl, that solved my question.