Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Problems updating

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Trucco95
Posts: 3
Joined: 2014-07-13 02:47

[SOLVED] Problems updating

#1 Post by Trucco95 »

Hello, there!
Before addressing the issue I should tell you about a mistake I made yesterday while trying to install pipelight ( http://www.pipelight.net ). The point is that I accidentally ran these commands:

Code: Select all

add-apt-repository ppa:pipelight/stable 
apt-get update
apt-get install pipelight
dpkg --add-architecture i386
wget http://download.opensuse.org/repositories/home:/DarkPlayer:/Pipelight/Debian_7.0/Release.key 
apt-key add Release.key 
Since that, every time I try to update, the following error occurs:

Code: Select all

  The following partially installed packages will be configured:
  linux-image-3.2.0-4-686-pae 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up linux-image-3.2.0-4-686-pae (3.2.60-1+deb7u1) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-4-686-pae /boot/vmlinuz-3.2.0-4-686-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-4-686-pae
cp: cannot stat `/lib/libacl*': No such file or directory
E: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.2.0-4-686-pae with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-4-686-pae.postinst line 696.
dpkg: error processing linux-image-3.2.0-4-686-pae (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-3.2.0-4-686-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up linux-image-3.2.0-4-686-pae (3.2.60-1+deb7u1) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-4-686-pae /boot/vmlinuz-3.2.0-4-686-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-4-686-pae
cp: cannot stat `/lib/libacl*': No such file or directory
E: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.2.0-4-686-pae with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-4-686-pae.postinst line 696.
dpkg: error processing linux-image-3.2.0-4-686-pae (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-3.2.0-4-686-pae
Well, that's all! Thanks in advance!
Last edited by Trucco95 on 2014-07-15 22:36, edited 3 times in total.

Bulkley
Posts: 6387
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Problems updating

#2 Post by Bulkley »

What's in your sources.list and your sources.list.d?

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5347
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: Problems updating

#3 Post by dilberts_left_nut »

Trucco95 wrote:The point is that I accidentally ran these commands:
Reminds me of that scene from "The Last Boy Scout" :lol:


These look odd:
Trucco95 wrote:cp: cannot stat `/lib/libacl*': No such file or directory
Doesn't exist on my installs either...
Trucco95 wrote:E: /usr/share/initramfs-tools/hooks/live failed with return 1.
What type of system is (was :D) this?
AdrianTM wrote:There's no hacker in my grandma...

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: Problems updating

#4 Post by kiyop »

Pipelight maybe needs wine, which I do not want to use on daily-use productive debian:
http://pipelight.net/cms/install/instal ... ebian.html
http://pipelight.net/cms/installation.html
Trucco95 wrote:The point is that I accidentally ran these commands:

Code: Select all

add-apt-repository ppa:pipelight/stable 
I will not do such a thing.

Have you removed PPA?
dilberts_left_nut wrote:These look odd:
Trucco95 wrote:cp: cannot stat `/lib/libacl*': No such file or directory
Doesn't exist on my installs either...
Trucco95 wrote:E: /usr/share/initramfs-tools/hooks/live failed with return 1.
What type of system is (was :D) this?
+1 (I agree with the above idea)

The OP's debian may be unusual one.

To the OP: Trucco95,
How did you install the debian?
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

Trucco95
Posts: 3
Joined: 2014-07-13 02:47

Re: Problems updating

#5 Post by Trucco95 »

First of all, thanks for answering! Secondly, I solved the problem by reinstalling live-initramfs and live-config. I'm not sure why this worked, and I would like to know, so if anyone can tell me why, I will be grateful.

Now I will answer some of your questions:
Bulkley wrote:What's in your sources.list and your sources.list.d?
I think that was not the problem, I checked all of them and I didn't find anything suspicious...
dilberts_left_nut wrote: These look odd:
Trucco95 wrote:cp: cannot stat `/lib/libacl*': No such file or directory
Doesn't exist on my installs either...
I don't even have the slightest idea of why it wanted to stat that... thing... called "libacl*" (which, by the by, for those who didn't know (Like me! :D ), libacl.so contains some POSIX draft standard for manipulating access control lists (should we have this?) )
dilberts_left_nut wrote:
Trucco95 wrote:E: /usr/share/initramfs-tools/hooks/live failed with return 1.
What type of system is (was :D) this?
deb cdrom:[Debian GNU/Linux 7.5.0 _Wheezy_ - Official i386 NETINST Binary-1 20140426-12:25]/ wheezy main (This is what you're asking, right?)
I think that something (by the way, I don't know what is that something, any idea?) was wrong with initramfs-tools.
kiyop wrote:
Trucco95 wrote:The point is that I accidentally ran these commands:

Code: Select all

add-apt-repository ppa:pipelight/stable 
I will not do such a thing.
I know, I know! I'm a little bit stupid (RTFM kind of stupid)...
kiyop wrote: Have you removed PPA?
Yes! I have :)
kiyop wrote:
dilberts_left_nut wrote:
Trucco95 wrote:E: /usr/share/initramfs-tools/hooks/live failed with return 1.
What type of system is (was :D) this?
+1 (I agree with the above idea)

The OP's debian may be unusual one.

To the OP: Trucco95,
How did you install the debian?
deb cdrom:[Debian GNU/Linux 7.5.0 _Wheezy_ - Official i386 NETINST Binary-1 20140426-12:25]/ wheezy main (I think I have a rather common debian :) )

Trucco95
Posts: 3
Joined: 2014-07-13 02:47

Re: Problems updating

#6 Post by Trucco95 »

kiyop wrote:Pipelight maybe needs wine, which I do not want to use on daily-use productive debian:
Why do you say that? (I'm interested in your opinion, I want to learn, I'm not being aggressive nor anything like that :D )

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: Problems updating

#7 Post by kiyop »

Trucco95 wrote:
kiyop wrote:Pipelight maybe needs wine, which I do not want to use on daily-use productive debian:
Why do you say that? (I'm interested in your opinion, I want to learn, I'm not being aggressive nor anything like that :D )
Because I think that the windows programs which can be downloaded on the web may contain malware (virus, adware, and so on). I do not think that wine itself contains some malware. ;)
In other words, I am not sure whether pipelight contains no malware.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Problems updating

#8 Post by stevepusser »

The pipelight developers also regularly have code accepted into Wine, and seem to be trustworthy. Pipelight's source is open and can be checked for malicious code.

I've adapted Pipelight, netflix-desktop, and patched Wine builds for the Wheezy-based MX 14 and MEPIS 12 releases. It works pretty much automagically there. :D
MX Linux packager and developer

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: Problems updating

#9 Post by kiyop »

stevepusser wrote:Pipelight's source is open and can be checked for malicious code.
Thank you for telling the above :)
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

Post Reply