Its clear that apt-get --reinstall needs some arguments, which should be retrieved by $(dpkg --get-selections | grep -v deinstall)
You could save that output first to a file, if you want to manipulate it, or save this processing time for repeating trials...
Not sure if dkpg requires sudo (as you used in previous examples).
That would save the output of dpkg --get-selections to ./reinstall.list.
So we should be able to process further with:
Of course you first can review reinstall.list, which i highly recomend - if there are more columns, we'd need to prepare it more.
I have a script updating my system, so i usualy dont pay attention to default outputs unless i start parsing it, so i'm not fully certain of how the output of that command is, as i'm today on rpm-based systems.
Yeah, apt-get systems dont support rpm systems and vice-versa..
One is RedHat (CentOS, Fedora, Scientific Linux) the other is Debian (Mint, [KLUX]buntu).
Those use completly diffrent packaging systems.
You just tried to (re-)install a non-existent package.
--
Have a try with:
That is considered to be worthwhile before upgrading/reinstalling the rest of the system.
I am trying to use REST API and curl in a bash script to generate a http report. The curl command at the end of the script should generate a html file but instead I get an error "HTTP/1.1 503 Service Unavailable".
This is the script
#!/bin/bash
export... (7 Replies)
I am trying to update/add a repository. Whenever I try to do a
sudo apt-get update
I get the message:
E: Malformed line 59 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
and when I do:
gksudo gedit /etc/apt/sources.list
I see... (1 Reply)
Hi There
I have a 2 node failover SG cluster, with a 4 packages running, that due to various reason I cant fail over/test for a while.
Therefore have created a test package to test over the 2 nodes. The package resources include a presented LUN from our HP SAN and a package IP address. The... (2 Replies)
Hello, am working on a suse linux system and trying to connect the server to the monitoring system we use. On checking the logs, i see that the snmp service is unavailable and would appreciate any help on how to fix this.
snmpd stop - done
snmpd start - done
snmpd status - unused (instead... (16 Replies)
Solaris 10 Server refuse to connect :wall:
fork: Resource temporarily unavailable , server unexpectedly unavailable network connection , refuse error, disconnect message, fatal error type2, (protocol error type2)
Issue has been resolved after taken few steps :b:
First of all need to check... (1 Reply)
Keep getting
IO Error
and
•nonnumeric port: '' (InvalidURL; misconfigured server?)
This in relation to RSS feeds. We have done a load of work to try to get RSS feeds working.
Now they work. But they wont validate.
http://www.ukcitymedia.co.uk/news/rss.php?feed=New_News
... (0 Replies)
hi i keep getting this error message when i try and run emacs:
/usr/lib/dld.sl: Unresolved symbol: pthread_mutex_init (code) from ./emacs
Abort
any ideas? thanks ed. (4 Replies)
i have this script i wrote, it chokes when running the add install client commandit keeps telling me the add_install_client command is incorrect.
When I put the print statement in front of the command so it will echo it, the command looks right on the screen. Yes im am an ametuer, im trying to... (2 Replies)
Hi all,
Till now i was able to do apt-get update. but today i started to the following error:
# apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file or directory)
E: Unable to lock the list directory
#
Could any one let me know how to solve it.
... (1 Reply)