Apt-Get system completely broken. possible to completely reinstall it? [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
3
down vote

favorite
1












I just recently noticed my apt-get system is broken. I have tried everything I can to fix it but everything I'm told just ends up with a message saying that the apt-get system is corrupt and unfixable. When I try to install a package, it says it can't find it. How can I completely reinstall apt-get? Is there even such a thing?










share|improve this question













closed as unclear what you're asking by Ravan, Pilot6, Charles Green, hg8, David Foerster Dec 23 '15 at 10:49


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 1




    could you please do a sudo apt-get update and copy paste the result
    – albertoefg
    Dec 22 '15 at 4:07










  • What is your Ubuntu architecture? amd64 or i386?
    – Tung Tran
    Dec 22 '15 at 4:32














up vote
3
down vote

favorite
1












I just recently noticed my apt-get system is broken. I have tried everything I can to fix it but everything I'm told just ends up with a message saying that the apt-get system is corrupt and unfixable. When I try to install a package, it says it can't find it. How can I completely reinstall apt-get? Is there even such a thing?










share|improve this question













closed as unclear what you're asking by Ravan, Pilot6, Charles Green, hg8, David Foerster Dec 23 '15 at 10:49


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 1




    could you please do a sudo apt-get update and copy paste the result
    – albertoefg
    Dec 22 '15 at 4:07










  • What is your Ubuntu architecture? amd64 or i386?
    – Tung Tran
    Dec 22 '15 at 4:32












up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





I just recently noticed my apt-get system is broken. I have tried everything I can to fix it but everything I'm told just ends up with a message saying that the apt-get system is corrupt and unfixable. When I try to install a package, it says it can't find it. How can I completely reinstall apt-get? Is there even such a thing?










share|improve this question













I just recently noticed my apt-get system is broken. I have tried everything I can to fix it but everything I'm told just ends up with a message saying that the apt-get system is corrupt and unfixable. When I try to install a package, it says it can't find it. How can I completely reinstall apt-get? Is there even such a thing?







apt






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 22 '15 at 4:06









ThatPixelCherry

184




184




closed as unclear what you're asking by Ravan, Pilot6, Charles Green, hg8, David Foerster Dec 23 '15 at 10:49


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by Ravan, Pilot6, Charles Green, hg8, David Foerster Dec 23 '15 at 10:49


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    could you please do a sudo apt-get update and copy paste the result
    – albertoefg
    Dec 22 '15 at 4:07










  • What is your Ubuntu architecture? amd64 or i386?
    – Tung Tran
    Dec 22 '15 at 4:32












  • 1




    could you please do a sudo apt-get update and copy paste the result
    – albertoefg
    Dec 22 '15 at 4:07










  • What is your Ubuntu architecture? amd64 or i386?
    – Tung Tran
    Dec 22 '15 at 4:32







1




1




could you please do a sudo apt-get update and copy paste the result
– albertoefg
Dec 22 '15 at 4:07




could you please do a sudo apt-get update and copy paste the result
– albertoefg
Dec 22 '15 at 4:07












What is your Ubuntu architecture? amd64 or i386?
– Tung Tran
Dec 22 '15 at 4:32




What is your Ubuntu architecture? amd64 or i386?
– Tung Tran
Dec 22 '15 at 4:32










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










You can download apt packages from Ubuntu repos and install them manually.



At first, create a directory in ~/Downloads and go into it:



mkdir ~/Downloads/apt-packs
cd ~/Downloads/apt-packs


And then download all apt packages corresponding to your architecture (amd64 or i386). For example, you have amd64 (Ubuntu 64bit):



Download following deb packages for apt (apt and its dependencies):



wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst2.0_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg5.0_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_1.1.5_amd64.deb


Finally, install them all with dpkg:



sudo dpkg -i *.deb





share|improve this answer






















  • I replace the version from 1.1.5 to 1.2.25 and it works too
    – Yu Jiaao
    Dec 25 '17 at 1:12










  • @YuJiaao yes that was the version I provided at that time. Now you can use the latest version.
    – Tung Tran
    Dec 25 '17 at 1:17

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted










You can download apt packages from Ubuntu repos and install them manually.



At first, create a directory in ~/Downloads and go into it:



mkdir ~/Downloads/apt-packs
cd ~/Downloads/apt-packs


And then download all apt packages corresponding to your architecture (amd64 or i386). For example, you have amd64 (Ubuntu 64bit):



Download following deb packages for apt (apt and its dependencies):



wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst2.0_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg5.0_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_1.1.5_amd64.deb


Finally, install them all with dpkg:



sudo dpkg -i *.deb





share|improve this answer






















  • I replace the version from 1.1.5 to 1.2.25 and it works too
    – Yu Jiaao
    Dec 25 '17 at 1:12










  • @YuJiaao yes that was the version I provided at that time. Now you can use the latest version.
    – Tung Tran
    Dec 25 '17 at 1:17














up vote
3
down vote



accepted










You can download apt packages from Ubuntu repos and install them manually.



At first, create a directory in ~/Downloads and go into it:



mkdir ~/Downloads/apt-packs
cd ~/Downloads/apt-packs


And then download all apt packages corresponding to your architecture (amd64 or i386). For example, you have amd64 (Ubuntu 64bit):



Download following deb packages for apt (apt and its dependencies):



wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst2.0_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg5.0_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_1.1.5_amd64.deb


Finally, install them all with dpkg:



sudo dpkg -i *.deb





share|improve this answer






















  • I replace the version from 1.1.5 to 1.2.25 and it works too
    – Yu Jiaao
    Dec 25 '17 at 1:12










  • @YuJiaao yes that was the version I provided at that time. Now you can use the latest version.
    – Tung Tran
    Dec 25 '17 at 1:17












up vote
3
down vote



accepted







up vote
3
down vote



accepted






You can download apt packages from Ubuntu repos and install them manually.



At first, create a directory in ~/Downloads and go into it:



mkdir ~/Downloads/apt-packs
cd ~/Downloads/apt-packs


And then download all apt packages corresponding to your architecture (amd64 or i386). For example, you have amd64 (Ubuntu 64bit):



Download following deb packages for apt (apt and its dependencies):



wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst2.0_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg5.0_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_1.1.5_amd64.deb


Finally, install them all with dpkg:



sudo dpkg -i *.deb





share|improve this answer














You can download apt packages from Ubuntu repos and install them manually.



At first, create a directory in ~/Downloads and go into it:



mkdir ~/Downloads/apt-packs
cd ~/Downloads/apt-packs


And then download all apt packages corresponding to your architecture (amd64 or i386). For example, you have amd64 (Ubuntu 64bit):



Download following deb packages for apt (apt and its dependencies):



wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst2.0_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg5.0_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_1.1.5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_1.1.5_amd64.deb


Finally, install them all with dpkg:



sudo dpkg -i *.deb






share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 22 '15 at 5:02

























answered Dec 22 '15 at 4:41









Tung Tran

2,6761925




2,6761925











  • I replace the version from 1.1.5 to 1.2.25 and it works too
    – Yu Jiaao
    Dec 25 '17 at 1:12










  • @YuJiaao yes that was the version I provided at that time. Now you can use the latest version.
    – Tung Tran
    Dec 25 '17 at 1:17
















  • I replace the version from 1.1.5 to 1.2.25 and it works too
    – Yu Jiaao
    Dec 25 '17 at 1:12










  • @YuJiaao yes that was the version I provided at that time. Now you can use the latest version.
    – Tung Tran
    Dec 25 '17 at 1:17















I replace the version from 1.1.5 to 1.2.25 and it works too
– Yu Jiaao
Dec 25 '17 at 1:12




I replace the version from 1.1.5 to 1.2.25 and it works too
– Yu Jiaao
Dec 25 '17 at 1:12












@YuJiaao yes that was the version I provided at that time. Now you can use the latest version.
– Tung Tran
Dec 25 '17 at 1:17




@YuJiaao yes that was the version I provided at that time. Now you can use the latest version.
– Tung Tran
Dec 25 '17 at 1:17


Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491