Error not upgrade and install modules

If none of the more specific forums is the right place to ask

Error not upgrade and install modules

Postby SpaM » 2017-02-19 05:30

Code: Select all
root@vps114830:~$ apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  vim-common
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/163 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
/bin/sh: 1: /usr/sbin/dpkg-preconfigure: not found
/bin/sh: 1: /usr/sbin/dpkg-preconfigure: not found
/bin/sh: 1: /usr/sbin/dpkg-preconfigure: not found
(Reading database ... 72261 files and directories currently installed.)
Preparing to replace vim-common 2:7.3.547-7+deb7u1 (using .../vim-common_2%3a7.3.547-7+deb7u2_amd64.deb) ...
Unpacking replacement vim-common ...
/var/lib/dpkg/info/vim-common.postrm: 4: /var/lib/dpkg/info/vim-common.postrm: update-mime: not found
dpkg: warning: subprocess old post-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: 4: /var/lib/dpkg/tmp.ci/postrm: update-mime: not found
dpkg: error processing /var/cache/apt/archives/vim-common_2%3a7.3.547-7+deb7u2_amd64.deb (--unpack):
 subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: 4: /var/lib/dpkg/tmp.ci/postrm: update-mime: not found
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 127
Processing triggers for mime-support ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/vim-common_2%3a7.3.547-7+deb7u2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is what appears to me when trying to install a module

not foun apt-get install -f

Code: Select all
root@vps114830:~$ sudo dpkg --configure -a
Setting up mercurial (2.2.2-4+deb7u3) ...
/usr/bin/ucf: line 377: perl: command not found
dpkg: error processing mercurial (--configure):
 subprocess installed post-installation script returned error exit status 127
Setting up vim-runtime (2:7.3.547-7+deb7u2) ...
/var/lib/dpkg/info/vim-runtime.postinst: 24: /var/lib/dpkg/info/vim-runtime.postinst: helpztags: not found
dpkg: error processing vim-runtime (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 mercurial
 vim-runtime
SpaM
 
Posts: 6
Joined: 2017-02-19 05:27

Re: Error not upgrade and install modules

Postby SpaM » 2017-02-22 21:01

Se da soporte en este sitio o tengo que ir a otro lugar? alguno sabe si puedo encontrar otra página donde pueda solucionar estos errores!
SpaM
 
Posts: 6
Joined: 2017-02-19 05:27

Re: Error not upgrade and install modules

Postby sunrat » 2017-02-22 23:33

This is Debian User Forums. Not expert support forums. It is voluntary and no-one gets paid. Posters here try to help people with problems based on their own experience, so if no-one has experienced the same problems it may be hard to find help.
I am sorry, I can not help you with the problem, I was going to suggest apt-get install -f but you say you tried that.
Also this is English language forum, not many Spanish speakers here. I think there is a Spanish Debian forum somewhere.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 1961
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Error not upgrade and install modules

Postby stevepusser » 2017-02-23 01:05

The errors would seem to show that at least parts of dpkg and perl are no longer available to your system. Without any more information, we really can't guess why this happened. They are essential packages and the system should have displayed many warnings before letting you remove them. Most of the time, these problems are either due to the user breaking the system by adding incompatible repositories or a failing hard drive.

What is the output you get when running

Code: Select all
apt-get update
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.6, Pale Moon 27.4.1, Liquorix kernel 4.11-9, mpv 0.26.0, Kodi 17.3, 0ad 0.0.22, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8537
Joined: 2009-10-06 05:53

Re: Error not upgrade and install modules

Postby SpaM » 2017-02-23 07:57

The bad thing is that it is a vps, where we are 2 people that we enter into it maybe the other person could see eliminated certain things good based on this the only alternative I have is to reinstall the debian and do it all over again that I see it clear yet Even if I do not want to lose the progress already obtained, it may well be that these are eliminated, I do not know if it is a question of being able to include those files again or simply reinstall the vps

Code: Select all
root@vps114830:~$ apt-get update
Get:1 http://security.debian.org wheezy/updates Release.gpg [1,554 B]
Hit http://download.webmin.com sarge Release.gpg
Get:2 http://security.debian.org wheezy/updates Release [39.0 kB]
Hit http://download.webmin.com sarge Release
Get:3 http://security.debian.org wheezy/updates/main amd64 Packages [471 kB]
Hit http://download.webmin.com sarge/contrib amd64 Packages
Get:4 http://security.debian.org wheezy/updates/contrib amd64 Packages [14 B]
Get:5 http://security.debian.org wheezy/updates/non-free amd64 Packages [14 B]
Get:6 http://security.debian.org wheezy/updates/main i386 Packages [474 kB]
Get:7 http://security.debian.org wheezy/updates/contrib i386 Packages [14 B]
Get:8 http://security.debian.org wheezy/updates/non-free i386 Packages [14 B]
Get:9 http://security.debian.org wheezy/updates/contrib Translation-en [14 B]
Get:10 http://security.debian.org wheezy/updates/main Translation-en [259 kB]
Get:11 http://security.debian.org wheezy/updates/non-free Translation-en [14 B]
Hit http://download.webmin.com sarge/contrib i386 Packages
Hit http://ftp.uk.debian.org wheezy Release.gpg
Get:12 http://ftp.uk.debian.org wheezy-updates Release.gpg [1,554 B]
Hit http://ftp.uk.debian.org wheezy Release
Get:13 http://ftp.uk.debian.org wheezy-updates Release [155 kB]
Hit http://ftp.uk.debian.org wheezy/main amd64 Packages
Hit http://ftp.uk.debian.org wheezy/contrib amd64 Packages
Ign http://download.webmin.com sarge/contrib Translation-en_GB
Hit http://ftp.uk.debian.org wheezy/non-free amd64 Packages
Ign http://download.webmin.com sarge/contrib Translation-en
Hit http://ftp.uk.debian.org wheezy/main i386 Packages
Hit http://ftp.uk.debian.org wheezy/contrib i386 Packages
Hit http://ftp.uk.debian.org wheezy/non-free i386 Packages
Hit http://ftp.uk.debian.org wheezy/contrib Translation-en
Hit http://ftp.uk.debian.org wheezy/main Translation-en
Hit http://ftp.uk.debian.org wheezy/non-free Translation-en
Get:14 http://ftp.uk.debian.org wheezy-updates/main amd64 Packages/DiffIndex [2,488 B]
Get:15 http://ftp.uk.debian.org wheezy-updates/main i386 Packages/DiffIndex [2,488 B]
Get:16 http://ftp.uk.debian.org wheezy-updates/main Translation-en/DiffIndex [736 B]
Fetched 1,407 kB in 4s (322 kB/s)
Reading package lists... Done
SpaM
 
Posts: 6
Joined: 2017-02-19 05:27

Re: Error not upgrade and install modules

Postby GarryRicketson » 2017-02-23 12:06

I don't think mixing packages for Debian Sarge, and Debian Wheezy would work very well,....maybe fix the /etc/apt/sources.list , so it is all for Debian wheezy.

by stevepusser » Most of the time, these problems are either due to the user breaking the system by adding incompatible repositories -------
User avatar
GarryRicketson
 
Posts: 4133
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Error not upgrade and install modules

Postby SpaM » 2017-02-23 14:57

Where I can find the repositories of the original version
SpaM
 
Posts: 6
Joined: 2017-02-19 05:27

Re: Error not upgrade and install modules

Postby GarryRicketson » 2017-02-23 15:22

"original version" of what ?

Please also read this :
https://wiki.debian.org/DontBreakDebian


I was looking and searching, to start with:
Hit http://download.webmin.com sarge Release.gpg

To start with, "webmin" does not seem to be in any Debian repositories ,
If you are a experienced Debian administrator,user probably the best thing to
do and easiest would be to start over, and install the VPS over again, using a current stable version of Debian, and not using anything from "outside" sources,
only use what is available in the Debian repos.
However if you are not experienced with both Linux, and Debian it is not as "simple" as it may sound, you will need to start with reading a lot of documentation, on how to do these things, correctly, and if the choice is Debian, it should be done "the Debian" way,...
http://forums.debian.net/viewtopic.php?t=23492

There is to much to try to explain in 1 post. For now, that is about it.
Debian Sarge is very old, the Original version of Debian was Debian 1.1 "buzz",
https://www.debian.org/doc/manuals/project-history/ch-detailed.en.html
Neither of these are currently supported, Debian Wheezy, (what I use), still is supported, but just barely,...so really it probably would be best to install new, with up to date versions of Debian , etc.
User avatar
GarryRicketson
 
Posts: 4133
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Error not upgrade and install modules

Postby SpaM » 2017-02-23 16:11

I already changed the repositories update but the problem consists I believe and I see in the need that in the future maybe if I think to do some things more I will have to reinstall the debian I hope some of a solution to this problem
SpaM
 
Posts: 6
Joined: 2017-02-19 05:27

Re: Error not upgrade and install modules

Postby GarryRicketson » 2017-02-23 18:53

Just changing the repositories listed in the sources.list file does not change
all the different outdated versions that all ready may have been installed.
You also would need to remove and purge all the previous things that are not compatible, etc. For even a very advanced Debian / linux user, this would not be a trivial task.
I am not advanced enough to try to explain how to clean up the mess,...if it was me , I would just start over, and try to do things correctly.

Maybe someone more advanced could walk you through everything, step by step,

I also have a forum for spanish speaking people, Debian Foro Español, but I do not have any members advanced enough to be much help on this,..There is more experienced people here.
There is another forum, in spanish https://exdebian.org/forum I do not
know if any one there would be able, and willing to help, but it might be worth a try.
--------------- edtited --------------
I would forget about trying to use "webmin",....I vaguely remember trying it, or considered using it, but after a little research decided not to use it,...
Why do you need that ?
Is the system working, ok , besides not being update or install this "webmin",..?
There are a lot of details you do not include, that make it hard to really say much.
For example :
by SpaM »
This is what appears to me when trying to install a module

It is not clear, What module ? it should have a name,...?
It is not clear still about what you mean by "original version" ?
Original version of what ?
I do not understand why you need "webmin" a VPS does not need that to run,..
Does the server even run ?
Depending on the reasons you need or want "webmin", I might be able to suggest something else, also not in the Debian repositories, but it is up to date, and compatible, http://ajenti.org/
But you need to get rid of everything related to "webmin" and the "sarge" packages,...in fact they (ajenti support) recommend installing to a "fresh" install,
that is to say , install the OS, and server, then ajenti,...
But again, there is no real reason to need or use any "administration panel", on a server or a VPS, everthing can be done easier and better from the console.
Last edited by GarryRicketson on 2017-02-23 19:25, edited 1 time in total.
User avatar
GarryRicketson
 
Posts: 4133
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Error not upgrade and install modules

Postby SpaM » 2017-02-23 19:05

Thank you very much for your help I will install the due in due case I will make a copy of the files first it would be better to do a reinstallation
SpaM
 
Posts: 6
Joined: 2017-02-19 05:27

Re: Error not upgrade and install modules

Postby GarryRicketson » 2017-02-23 19:31

Your welcome,...
also note, I edited my post, while you were replying,...suggesting to try using "ajenti" instead of "webmin".

by SpaM » I will make a copy of the files first it would be better to do a reinstallation


I think in the long run that is best.
Let us know how it goes.
"saludos"
User avatar
GarryRicketson
 
Posts: 4133
Joined: 2015-01-20 22:16
Location: Durango, Mexico


Return to General Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable