Reinstall sudo apt-get?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Reinstall sudo apt-get?
# 1  
Old 06-18-2012
Reinstall sudo apt-get?

I am using ubuntu11.10 and i was trying to do the update to 12.04, i found a post suggesting to use to solve part of the problem:
sudo apt-get remove ubuntu-keyring sudo apt-get --yes -q --allow-unauthenticated install ubuntu-keyringI ran the first command but not able to run the second or any sudo or apt-get command.

How can i reinstall them?

thnx
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sudo apt-get update fail: Malformed line 59

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)
Discussion started by: kayak
1 Replies

2. Solaris

Reinstall Hardware sentry

Hi Guys, I need to reinstall hardware sentry for BMC patrol manager in solariws server. I am trying to find the patrol version. please help me with the version number and reinstallation as i am new. Uname -a:SunOS 5.10 Generic_142901-06 i86pc i386 i86pc Thanks in advance!!! (0 Replies)
Discussion started by: Rockyc3400
0 Replies

3. UNIX for Dummies Questions & Answers

Error message of sudo apt-get

Hi, I am using ubuntu 12.04 and every time I installed new program or do: sudo apt-get install -f I get the following mesage: Download done. sha256sum mismatch jdk-7u3-linux-x64.tar.gz Oracle JDK 7 is NOT installed. dpkg: error processing oracle-java7-installer (--configure): subprocess... (2 Replies)
Discussion started by: programAngel
2 Replies

4. Shell Programming and Scripting

ssh foo.com sudo command - Prompts for sudo password as visible text. Help?

I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this: #!/bin/bash rsync /path/on/local/machine/ foo.com:path/on/remote/machine/ ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies

5. UNIX for Dummies Questions & Answers

Reinstall Solaris?

Hey! I'm new here, and excuse my complete lack of knowledge as a total newbie. I've recently started a new job managing a nightclub, and we have 3 sun terminals installed that customers are able to use in the lounge area. However, we can't seem to log onto them as the old tech guy left on bad... (5 Replies)
Discussion started by: snogthefrog
5 Replies

6. UNIX for Dummies Questions & Answers

Reinstall recommendations?

I'm currently running 32-bit Xubuntu 8.10 and I'm thinking of changing over to 64-bit Ubuntu 9.04. Any recommendations on how to make this go more smoothly? -----Post Update----- Can I shuffle around the partitions and install it as a second OS? Is there a good way to do that? (2 Replies)
Discussion started by: CRGreathouse
2 Replies

7. UNIX for Dummies Questions & Answers

sudo apt-get install build-essential not working

it asks for password and then following is displayed Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package build-essential what should i do to install g++ compiler? (4 Replies)
Discussion started by: sparkle
4 Replies

8. Windows & DOS: Issues & Discussions

Reinstall

As a pet project we are trying to install Windows 95 on an OLD Laptop PC (Toshiba Satallite 110CS) Well Our first Debacle was Dos Died due to us Formatting the system (Well duh) How ever we have failed to beable to Get a Base install of dos to start Installing 95. We have No CD-ROM (Quaint we... (3 Replies)
Discussion started by: Alexodia
3 Replies

9. UNIX for Dummies Questions & Answers

bash reinstall

Is there any way how to reinstall bash without reinstaling the whole unix? Thanks (1 Reply)
Discussion started by: Foxgard
1 Replies

10. Linux

reinstall Linux

I am trying to reinstall Linux on a machine which already has Linux. It's an Intel Machine (DELL). I want to boot it from the CD but for some reason, I don't get the F2 or F12 for setup. It directly takes me to the welcome thing. What do I need to do (1 Reply)
Discussion started by: bandaru
1 Replies
Login or Register to Ask a Question
apt(8)							      System Manager's Manual							    apt(8)

NAME
apt - Advanced Package Tool SYNOPSIS
apt DESCRIPTION
APT is a management system for software packages. For normal day to day package management there are several frontends available, such as aptitude(8) for the command line or synaptic(8) for the X Window System. Some options are only implemented in apt-get(8) though. SEE ALSO
apt-cache(8), apt-get(8), apt.conf(5), sources.list(5), apt_preferences(5), apt-secure(8) DIAGNOSTICS
apt returns zero on normal operation, decimal 100 on error. BUGS
This manpage isn't even started. See <http://bugs.debian.org/apt>. If you wish to report a bug in apt, please see /usr/share/doc/debian/bug-reporting.txt or the report- bug(1) command. AUTHOR
apt was written by the APT team <apt@packages.debian.org>. Debian GNU/Linux 16 June 1998 apt(8)