Re: Dist-upgrade on remote server fails;
On Thu, 2014-02-13 at 12:38 +, Darac Marjal wrote: On Wed, Feb 12, 2014 at 03:42:25PM -0600, John Foster wrote: I have a question regarding upgrading a remotely hosted VPN server. was running Debian 6; I did a few upgrades to clear the way for a dist-upgrade. I normally do this by getting the libc6 stuff and the kernel image done first then the rest of my apps. I've had very few issues with this in the past. However this is my first time to do it via all command line interface on a remotely hosted VPN server. On this server there is no kernel image or at least nothing in the /boot directory nothing shows to be installed as a kernel image in dselect. the issue at hand is this message when I try to install the new libc6 parts: If the package manager doesn't know about your kernel and libc, then I think there's a number of possibilities: They've been installed manually (for example with ./configure ; make ; make install), The package manager has forgotten about them (unlikely, but disk-corruption could do that) or I *think* there are certain kinds of virtualised environments that don't expose the kernel to you. You don't say your remote server is virtual, though, so we'll exclude the latter. If you haven't installed the files manually, then you should probably check files like /var/lib/dpkg/available and /var/lib/dpkg/status for truncation/corruption. what is the consequence of clearing out those files In terms of recovery, dpkg -i --force-overwrite {something}.deb MIGHT work, but note that issue of unsafeness (below). I don't mind that, but I think I would try a complete reinstall of Debian 6 then do the upgrade as they supply the TOOL for that. Less of an issue I think.I should be able to just restore the wiki after that as I did when they recently migrated the server (physically) all the IP addresses were toast. LOL they thought simply dropping in a snapshot of the files system would be OK. Man were they off about that. A copy of the C library was found in an unexpected directory: '/lib/x86_64-linux-gnu/libc-2.13.so' It is not safe to upgrade the C library in this situation; please remove that copy of the C library or get it out of '/lib/x86_64-linux-gnu' and try again. dpkg: error processing /var/cache/apt/archives/libc6_2.13-38 +deb7u1_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/libc6_2.13-38+deb7u1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) If anyone has experience with this type of issue or running remotely hosted servers please advise of any ideas for managing this issue. i have researched a tried a couple of processes that work for some folks already, but when I do move those c lib items to another directory the whole system fails and I've only been able to rescue my self by having several term windows open where I have command line access. I was able to reinstall (as in put them back) using filezilla and a remote term that was kept open for this purpose. Thanks John -- !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 TRANSITIONAL//EN HTML HEAD META HTTP-EQUIV=Content-Type CONTENT=text/html; CHARSET=UTF-8 META NAME=GENERATOR CONTENT=GtkHTML/4.4.4 /HEAD BODY John FosterBR BR /BODY /HTML -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1392323683.5749.22.ca...@beast.johnwfoster.com
Re: Dist-upgrade on remote server fails;
On Wed, Feb 12, 2014 at 03:42:25PM -0600, John Foster wrote: I have a question regarding upgrading a remotely hosted VPN server. was running Debian 6; I did a few upgrades to clear the way for a dist-upgrade. I normally do this by getting the libc6 stuff and the kernel image done first then the rest of my apps. I've had very few issues with this in the past. However this is my first time to do it via all command line interface on a remotely hosted VPN server. On this server there is no kernel image or at least nothing in the /boot directory nothing shows to be installed as a kernel image in dselect. the issue at hand is this message when I try to install the new libc6 parts: If the package manager doesn't know about your kernel and libc, then I think there's a number of possibilities: They've been installed manually (for example with ./configure ; make ; make install), The package manager has forgotten about them (unlikely, but disk-corruption could do that) or I *think* there are certain kinds of virtualised environments that don't expose the kernel to you. You don't say your remote server is virtual, though, so we'll exclude the latter. If you haven't installed the files manually, then you should probably check files like /var/lib/dpkg/available and /var/lib/dpkg/status for truncation/corruption. In terms of recovery, dpkg -i --force-overwrite {something}.deb MIGHT work, but note that issue of unsafeness (below). A copy of the C library was found in an unexpected directory: '/lib/x86_64-linux-gnu/libc-2.13.so' It is not safe to upgrade the C library in this situation; please remove that copy of the C library or get it out of '/lib/x86_64-linux-gnu' and try again. dpkg: error processing /var/cache/apt/archives/libc6_2.13-38 +deb7u1_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/libc6_2.13-38+deb7u1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) If anyone has experience with this type of issue or running remotely hosted servers please advise of any ideas for managing this issue. i have researched a tried a couple of processes that work for some folks already, but when I do move those c lib items to another directory the whole system fails and I've only been able to rescue my self by having several term windows open where I have command line access. I was able to reinstall (as in put them back) using filezilla and a remote term that was kept open for this purpose. Thanks John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1392241345.16185.11.ca...@beast.johnwfoster.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140213123858.gb13...@darac.org.uk
Re: Dist-upgrade on remote server fails;
On Wed, Feb 12, 2014 at 03:42:25PM -0600, John Foster wrote: I have a question regarding upgrading a remotely hosted VPN server. was running Debian 6; I did a few upgrades to clear the way for a dist-upgrade. I normally do this by getting the libc6 stuff and the kernel image done first then the rest of my apps. I've had very few issues with this in the past. However this is my first time to do it via all command line interface on a remotely hosted VPN server. On this server there is no kernel image or at least nothing in the /boot directory nothing shows to be installed as a kernel image in dselect. the issue at hand is this message when I try to install the new libc6 parts: I suspect you are using a VPS, not a VPN: a virtual server. And I also suspect that your provider is supplying the kernel for the server from outside the mounted environment. This could be something that's easy to change (your provider will offer you a tool) or something that's impossible to change (you are not running in a full virtualized environment, but in a container or zone arrangement where your kernel is shared with the hosting machine). In either case, talk to tech support at your VPS provider and get the facts. -dsr- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140213174819.gn6...@randomstring.org
Re: Dist-upgrade on remote server fails;
On Thu, 2014-02-13 at 12:48 -0500, Dan Ritter wrote: On Wed, Feb 12, 2014 at 03:42:25PM -0600, John Foster wrote: I have a question regarding upgrading a remotely hosted VPN server. was running Debian 6; I did a few upgrades to clear the way for a dist-upgrade. I normally do this by getting the libc6 stuff and the kernel image done first then the rest of my apps. I've had very few issues with this in the past. However this is my first time to do it via all command line interface on a remotely hosted VPN server. On this server there is no kernel image or at least nothing in the /boot directory nothing shows to be installed as a kernel image in dselect. the issue at hand is this message when I try to install the new libc6 parts: I suspect you are using a VPS, not a VPN: a virtual server. And I also suspect that your provider is supplying the kernel for the server from outside the mounted environment. Sorry about the terminology, yes it is a virtual server called OpenVZ This could be something that's easy to change (your provider will offer you a tool) or something that's impossible to change (you are not running in a full virtualized environment, but in a container or zone arrangement where your kernel is shared with the hosting machine). In either case, talk to tech support at your VPS provider and get the facts. -dsr- I did and their response is below: After discussion with another member of the technical team we do not appear to have any custom OpenVZ configurations that would cause such an issue. Also could you please expand as to what you mean by I noticed that there is NO linux kernel image installed on this server. Nothing in /boot I.E. no kernel. They do answer questions quickly but they also sell a fully managed system for a much higher fee, that I'm not able to afford, nor do I want those limitations. I 'THINK' the libC issues are in fact related to the location of the actual kernel they are providing. I'm fairly sure they have a kernel with its own LIBC supplied from elsewhere that they have provided the libC locations as deemed proper by their tech staff. Issue is the OS Debian 6 minimal does NOT actually provide all the tools I need to run the REQUIRED software for my site. At least not if I keep it all upgraded. An example: I need to upgrade ocaml to a more recent version in order to compile the Texvc system for the mathematics of my mediawiki installation. There are many other similar instances. I can't get the currect stable version of ocaml to install since I can't get the dependencies satisfied due to the outdated libc6 items. Thanks John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1392323026.5749.11.ca...@beast.johnwfoster.com
Re: Dist-upgrade on remote server fails;
On Thu, Feb 13, 2014 at 02:23:46PM -0600, John Foster wrote: I have a question regarding upgrading a remotely hosted VPN server. was running Debian 6; I did a few upgrades to clear the way for a dist-upgrade. I normally do this by getting the libc6 stuff and the kernel image done first then the rest of my apps. I've had very few issues with this in the past. However this is my first time to do it via all command line interface on a remotely hosted VPN server. On this server there is no kernel image or at least nothing in the /boot directory nothing shows to be installed as a kernel image in dselect. the issue at hand is this message when I try to install the new libc6 parts: I suspect you are using a VPS, not a VPN: a virtual server. And I also suspect that your provider is supplying the kernel for the server from outside the mounted environment. Sorry about the terminology, yes it is a virtual server called OpenVZ Right. OpenVZ provides containerization, not full virtualization. What's the difference? All the containers on a given server share the same kernel. This could be something that's easy to change (your provider will offer you a tool) or something that's impossible to change (you are not running in a full virtualized environment, but in a container or zone arrangement where your kernel is shared with the hosting machine). In either case, talk to tech support at your VPS provider and get the facts. -dsr- I did and their response is below: After discussion with another member of the technical team we do not appear to have any custom OpenVZ configurations that would cause such an issue. Also could you please expand as to what you mean by I noticed that there is NO linux kernel image installed on this server. Nothing in /boot I.E. no kernel. What they mean is that OpenVZ containers all share one kernel on a given hardware box. You cannot do what you want. https://wiki.debian.org/OpenVz https://wiki.debian.org/SystemVirtualization http://wiki.openvz.org/Introduction_to_virtualization You should read all three, I think. I 'THINK' the libC issues are in fact related to the location of the actual kernel they are providing. I'm fairly sure they have a kernel with its own LIBC supplied from elsewhere that they have provided the libC locations as deemed proper by their tech staff. Issue is the OS Debian 6 minimal does NOT actually provide all the tools I need to run the REQUIRED software for my site. At least not if I keep it all upgraded. An example: I need to upgrade ocaml to a more recent version in order to compile the Texvc system for the mathematics of my mediawiki installation. There are many other similar instances. I can't get the currect stable version of ocaml to install since I can't get the dependencies satisfied due to the outdated libc6 items. Right. You should look for another provider, who either supports Wheezy or does full virtualization, via Xen or KVM or VMWare. -dsr- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140214005909.gq6...@randomstring.org
Dist-upgrade on remote server fails;
I have a question regarding upgrading a remotely hosted VPN server. was running Debian 6; I did a few upgrades to clear the way for a dist-upgrade. I normally do this by getting the libc6 stuff and the kernel image done first then the rest of my apps. I've had very few issues with this in the past. However this is my first time to do it via all command line interface on a remotely hosted VPN server. On this server there is no kernel image or at least nothing in the /boot directory nothing shows to be installed as a kernel image in dselect. the issue at hand is this message when I try to install the new libc6 parts: A copy of the C library was found in an unexpected directory: '/lib/x86_64-linux-gnu/libc-2.13.so' It is not safe to upgrade the C library in this situation; please remove that copy of the C library or get it out of '/lib/x86_64-linux-gnu' and try again. dpkg: error processing /var/cache/apt/archives/libc6_2.13-38 +deb7u1_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/libc6_2.13-38+deb7u1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) If anyone has experience with this type of issue or running remotely hosted servers please advise of any ideas for managing this issue. i have researched a tried a couple of processes that work for some folks already, but when I do move those c lib items to another directory the whole system fails and I've only been able to rescue my self by having several term windows open where I have command line access. I was able to reinstall (as in put them back) using filezilla and a remote term that was kept open for this purpose. Thanks John -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1392241345.16185.11.ca...@beast.johnwfoster.com