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
XAPT(1) 						User Contributed Perl Documentation						   XAPT(1)

NAME
xapt - convert Debian packages to cross versions on-the-fly Synopsis $ sudo xapt foo bar baz $ sudo xapt -M http://ftp.fr.debian.org/debian/ foo bar baz $ sudo xapt --clean-cache Description Downloading the Packages files can take a reasonable amount of time, so to grip a number of packages, either specify all packages in one command or use the "--keep-cache" option for each run and use the "--clean-cache" option at the end. Note also that, in common with the rest of Emdebian processing, Install-Recommends is always turned off, so if you need a package that is only recommended by packages in the list given to "xapt", that package will need to be added to the list explicitly. Limitations Installing any package from repositories outside the normal apt sources (especially if those packages are subsequently modified by dpkg- cross) will list those packages as "local or obsolete" in package managers. Converted packages cannot be upgraded without repeating the call to "xapt" because "apt-get" does not know about the renaming of the package by "dpkg-cross" when downloading the packages. This can cause problems if dependencies of such packages need to be upgraded. It is possible that the main system "apt" will try to remove these local packages in order to proceed with the main system upgrade. The best option is to use "xapt" inside a disposable chroot. Checking existing cross packages "xapt", by default, will not check to see if a particular cross package is already installed at a newer or equal version which can cause cross packages to be downgraded. To turn on this check, either use the "--check-newer" option or set "checknewer" to true in the vendor configuration file in /etc/xapt.d/. Using SecureApt If your apt sources include a repository which does not use SecureApt, disable authentication in the vendor configuration file in /etc/xapt.d/ Set noauth=true. Multiarch behaviour By default <dpkg-cross> does nothing with packages from Debian which already support Multi-Arch - the package is simply copied to the current work directory, if it does not already exist. Any package containing a Multi-Arch: field in DEBIAN/control is skipped in this manner. "xapt" uses the --multiarch option can pass the --convert-multiarch option down to dpkg-cross to instead force the generation of a -<arch>-cross package with the files moved into the conventional dpkg-cross locations. "xapt" will check for dpkg-cross version 2.6.3 or higher when this option is set and report an error (unsetting the option) if a suitable version is not found. perl v5.14.2 2012-09-26 XAPT(1)