LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2019, 03:05 AM   #1
theluckygupta
LQ Newbie
 
Registered: Aug 2019
Posts: 1

Rep: Reputation: Disabled
Unhappy apt_pkg.Error: E:The package needs to be reinstalled, but I can't find an archive for it. Reading package lists... Done


root@kali:~# sudo apt-get update
Hit:1 http://old.kali.org/kali moto InRelease
Traceback (most recent call last):
File "/usr/bin/debtags", line 700, in <module>
main()
File "/usr/bin/debtags", line 694, in main
sys.exit(action.main(args))
File "/usr/bin/debtags", line 632, in main
for pkg, tags in self.tags_from_apt():
File "/usr/bin/debtags", line 256, in tags_from_apt
cache = self.apt_cache
File "/usr/bin/debtags", line 241, in apt_cache
res = self._apt_cache = apt.Cache()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 166, in __init__
self.open(progress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 227, in open
self._depcache = apt_pkg.DepCache(self._cache)
apt_pkg.Error: E:The package libqt4-xmlpatterns needs to be reinstalled, but I can't find an archive for it.
Reading package lists... Done
 
Old 08-11-2019, 08:37 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by theluckygupta View Post
root@kali:~# sudo apt-get update
You don't need sudo when you're already root.

Quote:
Originally Posted by theluckygupta View Post
apt_pkg.Error: E:The package libqt4-xmlpatterns needs to be reinstalled, but I can't find an archive for it.
then locate the package from kali repos, download it, and install it manually with 'dpkg -i ....'
But I doubt it'll solve your problem(s).

also see this please:
Quote:
Is Kali Linux Right For You?

As the distribution’s developers, you might expect us to recommend that everyone
should be using Kali Linux. The fact of the matter is, however, that Kali is a
Linux distribution specifically geared towards professional penetration testers
and security specialists, and given its unique nature, it is NOT a recommended
distribution if you’re unfamiliar with Linux or are looking for a general-purpose
Linux desktop distribution for development, web design, gaming, etc.

Even for experienced Linux users, Kali can pose some challenges.

(Source)
 
1 members found this post helpful.
Old 08-11-2019, 08:52 AM   #3
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Kali Linux Moto is "end of life" and unsupported since 2015:

https://www.kali.org/news/kali-moto-eol/

I recommend to discontinue Kali Moto and use a currently-supported Linux distribution instead.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian9 apt: package x needs to be reinstalled, but no archive found jvermeulen Debian 27 07-19-2018 03:24 AM
FireStarter lists IP blocked that etherape lists as connections??? theKbStockpiler Linux - Security 1 09-26-2017 09:24 PM
LXer: Python - Sorting Lists inside of Lists LXer Syndicated Linux News 0 06-06-2013 01:00 PM
How are opt-in e-mail lists distinguished from spam lists? Travis86 Programming 2 01-29-2012 08:55 PM
LXer: Unique Sorting Of Lists And Lists Of Lists With Perl For Linux Or Unix LXer Syndicated Linux News 0 09-05-2008 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration