add/remove software

Erik Schmidt eschmidt90 at gmail.com
Sun Jan 21 19:55:22 UTC 2007


Still get errors, here ya go (these are from both commands):

erik at erik-laptop:~$ sudo apt-get update
Get:1 http://us.archive.ubuntu.com edgy Release.gpg [191B]
Ign http://us.archive.ubuntu.com edgy/main Translation-en_US
Ign http://us.archive.ubuntu.com edgy/restricted Translation-en_US
Get:2 http://security.ubuntu.com edgy-security Release.gpg [191B]
Ign http://security.ubuntu.com edgy-security/main Translation-en_US
Ign http://us.archive.ubuntu.com edgy/universe Translation-en_US
Ign http://us.archive.ubuntu.com edgy/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com edgy/universe Translation-en_US
Ign http://security.ubuntu.com edgy-security/restricted
Translation-en_US
Ign http://security.ubuntu.com edgy-security/universe Translation-en_US
Ign http://security.ubuntu.com edgy-security/multiverse
Translation-en_US
Ign http://security.ubuntu.com edgy-security/universe Translation-en_US
Hit http://security.ubuntu.com edgy-security Release
Hit http://security.ubuntu.com edgy-security/main Packages
Hit http://security.ubuntu.com edgy-security/restricted Packages
Hit http://security.ubuntu.com edgy-security/universe Packages
Hit http://security.ubuntu.com edgy-security/multiverse Packages
Get:3 http://security.ubuntu.com edgy-security/main Sources [10.2kB]
Get:4 http://us.archive.ubuntu.com edgy-updates Release.gpg [191B]
Ign http://us.archive.ubuntu.com edgy-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com edgy-updates/restricted
Translation-en_US
Ign http://us.archive.ubuntu.com edgy-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com edgy-updates/multiverse
Translation-en_US
Ign http://us.archive.ubuntu.com edgy-updates/universe Translation-en_US
Hit http://us.archive.ubuntu.com edgy Release        
Hit http://security.ubuntu.com edgy-security/restricted
Sources           
Hit http://us.archive.ubuntu.com edgy-updates Release
Get:5 http://security.ubuntu.com edgy-security/universe Sources [2271B]
Get:6 http://security.ubuntu.com edgy-security/multiverse Sources [14B]
Hit http://security.ubuntu.com edgy-security/universe Packages
Ign http://us.archive.ubuntu.com edgy/main Packages               
Hit http://us.archive.ubuntu.com edgy/restricted Packages
Hit http://us.archive.ubuntu.com edgy/universe Packages
Hit http://us.archive.ubuntu.com edgy/multiverse Packages
Get:7 http://us.archive.ubuntu.com edgy/main Sources [274kB]
Hit http://us.archive.ubuntu.com edgy/restricted Sources
Get:8 http://us.archive.ubuntu.com edgy/universe Sources [1068kB]
Get:9 http://us.archive.ubuntu.com edgy/multiverse Sources
[45.0kB]            
Hit http://us.archive.ubuntu.com edgy/universe
Packages                        
Hit http://us.archive.ubuntu.com edgy-updates/main
Packages                    
Hit http://us.archive.ubuntu.com edgy-updates/restricted
Packages              
Hit http://us.archive.ubuntu.com edgy-updates/universe
Packages                
Hit http://us.archive.ubuntu.com edgy-updates/multiverse
Packages              
Get:10 http://us.archive.ubuntu.com edgy-updates/main Sources
[16.6kB]         
Hit http://us.archive.ubuntu.com edgy-updates/restricted
Sources               
Get:11 http://us.archive.ubuntu.com edgy-updates/universe Sources
[14B]        
Get:12 http://us.archive.ubuntu.com edgy-updates/multiverse Sources
[14B]      
Hit http://us.archive.ubuntu.com edgy-updates/universe
Packages                
Get:13 http://us.archive.ubuntu.com edgy/main Packages
[1214kB]                
99% [13 Packages gzip 0] [8 Sources bzip2 0]
137kB/s 0s
gzip: stdin: not in gzip format
Err http://us.archive.ubuntu.com edgy/main
Packages                            
  Sub-process gzip returned an error code (1)
Fetched 1416kB in 13s
(108kB/s)                                                
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/dists/edgy/main/binary-powerpc/Packages.gz  Sub-process gzip returned an error code (1)
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old
ones used instead.
erik at erik-laptop:~$ sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package build-essential is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package build-essential has no installation candidate


On Mon, 2007-01-22 at 06:47 +1100, Peter Garrett wrote:
> On Sun, 21 Jan 2007 14:11:33 -0500
> Erik Schmidt <eschmidt90 at gmail.com> wrote:
> 
> [snipped extremely strange-looking much-hacked about  /etc/apt/sources.list ]
> 
> OK.
> 
> Move that out of the way ( not that it will be much use anyway )
> 
> sudo mv /etc/apt/sources.list /etc/apt/sources.list.broken
> 
> Open an editor and paste in the following (between the ##### lines) using
> ( gksudo gedit /etc/apt/sources.list , or  whatever you are
> comfortable with )
> 
> ###############################################
> # All the usual repositories
> deb http://us.archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
> deb-src http://us.archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
> 
> # Updates
> deb http://us.archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse
> deb-src http://us.archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse
> 
> # Security, from the main security archive
> deb http://security.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse
> deb-src http://security.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse
> 
> ###############################################
> 
> Save the file as /etc/apt/sources.list
> 
> Then
> 
> sudo apt-get update && sudo apt-get install build-essential
> 
> Unless there's a typo  in the file as I've given it above, it should work OK I think.
> 
> Let us know how that goes.
> 
> Peter
> 





More information about the ubuntu-users mailing list