Re: [SLUG] Fixing broken apt-get on Zentyal (Ubuntu)
On 11 February 2015 at 11:39, scott redhowlingwol...@gmx.com wrote: On 02/10/2015 05:32 PM, David Lyon wrote: Hi, I have a working Zentyal server and everything is fine except that I need to deploy Python Imaging Library to it, and it doesn't work. apt-get is for some reason broken. I get the following error message with sudo apt-get install python2.7-dev or any command: E: Internal Error, No file name for libmount1 Try this: sudo rm -f /etc/apt/sources.list.d/* then sudo dpkg --configure -a Ouch Don't! These are configuration files. If you want to clear this directory then copy these files to another location and remove them from this directory. Scott -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- http://au.linkedin.com/in/gliderflyer -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Fixing broken apt-get on Zentyal (Ubuntu)
I'd call these configuration files, and in any case something you don't want to just wipe out out right without a way to restore. Why do you propose to remove them anyway? apt-get complains about an internal error. Your original response is identical to http://askubuntu.com/a/337795, which someone reported to work for them without the rm -f. I'd say - try the sudo dpkg --configure -a by itself first. Back to the original question - google'ing the error comes up with threads which indicate post-upgrade troubles. Have you gone through a major upgrade recently? On 11 February 2015 at 14:21, scott redhowlingwol...@gmx.com wrote: On 02/10/2015 09:19 PM, Amos Shapira wrote: On 11 February 2015 at 11:39, scott redhowlingwol...@gmx.com wrote: On 02/10/2015 05:32 PM, David Lyon wrote: Hi, I have a working Zentyal server and everything is fine except that I need to deploy Python Imaging Library to it, and it doesn't work. apt-get is for some reason broken. I get the following error message with sudo apt-get install python2.7-dev or any command: E: Internal Error, No file name for libmount1 Try this: sudo rm -f /etc/apt/sources.list.d/* then sudo dpkg --configure -a Ouch Don't! These are configuration files. If you want to clear this directory then copy these files to another location and remove them from this directory. The sources.list.d directory is almost always PPA's the user has added. There are no configuration files in there. Scott -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- http://au.linkedin.com/in/gliderflyer -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Fixing broken apt-get on Zentyal (Ubuntu)
Ah see this is how it got like this. Search how to fix type all those commands in without understanding any of it.. ok - doesn't work... move to the next web page... repeat.. Anyway, they don't want to pay for time to do a fresh install. It's almost a management decision to allow a reboot. Installing packages manually works, but no automatic download and install anymore. The problem was initially caused by a Zentyal specific library failing (suricata). Not worth fixing. Thanks .. :-) On Wed, Feb 11, 2015 at 2:55 PM, Amos Shapira amos.shap...@gmail.com wrote: I'd call these configuration files, and in any case something you don't want to just wipe out out right without a way to restore. Why do you propose to remove them anyway? apt-get complains about an internal error. Your original response is identical to http://askubuntu.com/a/337795, which someone reported to work for them without the rm -f. I'd say - try the sudo dpkg --configure -a by itself first. Back to the original question - google'ing the error comes up with threads which indicate post-upgrade troubles. Have you gone through a major upgrade recently? On 11 February 2015 at 14:21, scott redhowlingwol...@gmx.com wrote: On 02/10/2015 09:19 PM, Amos Shapira wrote: On 11 February 2015 at 11:39, scott redhowlingwol...@gmx.com wrote: On 02/10/2015 05:32 PM, David Lyon wrote: Hi, I have a working Zentyal server and everything is fine except that I need to deploy Python Imaging Library to it, and it doesn't work. apt-get is for some reason broken. I get the following error message with sudo apt-get install python2.7-dev or any command: E: Internal Error, No file name for libmount1 Try this: sudo rm -f /etc/apt/sources.list.d/* then sudo dpkg --configure -a Ouch Don't! These are configuration files. If you want to clear this directory then copy these files to another location and remove them from this directory. The sources.list.d directory is almost always PPA's the user has added. There are no configuration files in there. Scott -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- http://au.linkedin.com/in/gliderflyer -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Fixing broken apt-get on Zentyal (Ubuntu)
On 02/10/2015 09:19 PM, Amos Shapira wrote: On 11 February 2015 at 11:39, scott redhowlingwol...@gmx.com wrote: On 02/10/2015 05:32 PM, David Lyon wrote: Hi, I have a working Zentyal server and everything is fine except that I need to deploy Python Imaging Library to it, and it doesn't work. apt-get is for some reason broken. I get the following error message with sudo apt-get install python2.7-dev or any command: E: Internal Error, No file name for libmount1 Try this: sudo rm -f /etc/apt/sources.list.d/* then sudo dpkg --configure -a Ouch Don't! These are configuration files. If you want to clear this directory then copy these files to another location and remove them from this directory. The sources.list.d directory is almost always PPA's the user has added. There are no configuration files in there. Scott -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Fixing broken apt-get on Zentyal (Ubuntu)
On 11/02/15 11:39, scott wrote: Try this: sudo rm -f /etc/apt/sources.list.d/* then sudo dpkg --configure -a Why are you suggesting the user _blindly_ wipe the sources.list.d directory? That is irresponsible at best. On 11/02/15 14:21, scott wrote: The sources.list.d directory is almost always PPA's the user has added. There are no configuration files in there. Sometimes third-party software (Google Chrome is the most popular, but others do it too) install their 'deb' lines into sources.list.d too, so by wiping that directory blindly you're potentially missing out on vital security updates. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Fixing broken apt-get on Zentyal (Ubuntu)
On 02/10/2015 05:32 PM, David Lyon wrote: Hi, I have a working Zentyal server and everything is fine except that I need to deploy Python Imaging Library to it, and it doesn't work. apt-get is for some reason broken. I get the following error message with sudo apt-get install python2.7-dev or any command: E: Internal Error, No file name for libmount1 Try this: sudo rm -f /etc/apt/sources.list.d/* then sudo dpkg --configure -a Scott -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html