Page 1 of 1

mintconstructor: apt error

Posted: Sat Jul 28, 2012 11:34 pm
by lahirdenganselamat
I use LMDE with KDE and I'm trying to remaster the unofficial LMDE KDE by using mintconstructor.

I install mintconstructor from mint repo and run it. The problem is: apt command on chrooted FS cannot be completed. It always say:

Code: Select all

FATAL -> Could not set non-blocking flag Bad file descriptor
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (100)
and another annoying thing is, it always print

Code: Select all

sh: 1: cannot create /dev/null: Permission denied
after I enter the command.

here's the complete example:

Code: Select all

root@lmdekde-1215b / # apt-get update
sh: 1: cannot create /dev/null: Permission denied
Hit http://kambing.ui.ac.id testing InRelease                                                                                                            
Hit http://kambing.ui.ac.id testing/updates InRelease                                                                                                    
0% [InRelease gpgv 199 kB] [Waiting for headers] [Connecting to www.deb-multimedia.org (91.121.10.104)]gpgv: Signature made Sat Jul 28 16:23:16 2012 EDT using RSA key ID 473041FA
gpgv: Good signature from "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>"
9% [InRelease gpgv 87.8 kB] [Waiting for headers] [Connecting to www.deb-multimedia.org (91.121.10.104)] [Waiting for headers]gpgv: Signature made Thu Jul 26 07:19:09 2012 EDT using RSA key ID 473041FA
gpgv: Good signature from "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>"
Hit http://kambing.ui.ac.id testing/main amd64 Packages/DiffIndex                                                             
Hit http://kambing.ui.ac.id testing/contrib amd64 Packages/DiffIndex                                  
Hit http://kambing.ui.ac.id testing/non-free amd64 Packages/DiffIndex           
Ign http://kambing.ui.ac.id testing/contrib TranslationIndex         
Ign http://repo.ugm.ac.id debian InRelease                           
Ign http://www.deb-multimedia.org testing InRelease
45% [Working]FATAL -> Could not set non-blocking flag Bad file descriptor
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (100)
root@lmdekde-1215b / # 
My ddg resulting this page : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=191309 but I can't understand the meaning of that page tho I believe its highly related.

Any suggestion?

Re: mintconstructor: apt error

Posted: Sun Jul 29, 2012 4:23 am
by lahirdenganselamat
Its solved. thanks to Schoelje, he's writing the solution on viewtopic.php?f=148&t=106318