apt-0.5.4-1053

Chris Cossman <[email protected]>
Newsgroups gmane.os.apple.fink.core
Message-ID <[email protected]>
Tried using the following:  /sw/bin/fink ....
						/sw/bin/dselect ....
						/sw/bin/dpkg ....
						/sw/bin/apt-get ....
						/sw/etc/apt/sources.list ....

When executing 'fink' , i get the error message when trying to  
download a port:

chris-cossmans-power-mac-g5:/sw/bin chriscossman$ ./fink install atk1
Password:
Information about 1989 packages read in 1 seconds.
The following package will be installed or updated:
  atk1
The following 2 additional packages will be installed:
  atk1-shlibs pkgconfig
Do you want to continue? [Y/n] Y
/sw/bin/apt-get-lockwait -q --ignore-breakage --download-only install  
atk1=1.6.1-1003
Reading Package Lists...
Building Dependency Tree...
W: Couldn't stat source package list http://us.dl.sourceforge.net  
10.3/release/main Packages (/sw/var/lib/apt/lists/ 
us.dl.sourceforge.net_fink_direct% 
5fdownload_dists_10.3_release_main_binary-darwin-powerpc_Packages) -  
stat (2 No such file or directory)
W: Couldn't stat source package list http://akadns.http 10.4/crypto  
Packages (/sw/var/lib/apt/lists/ 
akadns.http__ftp.dk.debian.org_debian_ftpsync_ftpsync-23.tar.gz_dists_10 
.4_crypto_binary-darwin-powerpc_Packages) - stat (22 Invalid argument)
W: Couldn't stat source package list http://ftp.dk.debian.org 10.3/ 
release/main Packages (/sw/var/lib/apt/lists/ 
ftp.dk.debian.org_debian_dists_lenny_Contents- 
powerpc.gz_dists_10.3_release_main_binary-darwin-powerpc_Packages) -  
stat (2 No such file or directory)
W: Couldn't stat source package list http://us.dl.sourceforge.net  
10.3/release/main Packages (/sw/var/lib/apt/lists/ 
us.dl.sourceforge.net_fink_direct% 
5fdownload_dists_10.3_release_main_binary-darwin-powerpc_Packages) -  
stat (2 No such file or directory)
W: Couldn't stat source package list http://akadns.http 10.4/crypto  
Packages (/sw/var/lib/apt/lists/ 
akadns.http__ftp.dk.debian.org_debian_ftpsync_ftpsync-23.tar.gz_dists_10 
.4_crypto_binary-darwin-powerpc_Packages) - stat (22 Invalid argument)
W: Couldn't stat source package list http://ftp.dk.debian.org 10.3/ 
release/main Packages (/sw/var/lib/apt/lists/ 
ftp.dk.debian.org_debian_dists_lenny_Contents- 
powerpc.gz_dists_10.3_release_main_binary-darwin-powerpc_Packages) -  
stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package atk1
### execution of /sw/bin/apt-get-lockwait failed, exit code 100
Failed: Downloading the binary package 'atk1_1.6.1-1003_darwin- 
powerpc.deb' failed.

Then when update run:

chris-cossmans-power-mac-g5:/sw/bin chriscossman$ ./fink update
Information about 1989 packages read in 1 seconds.
No packages to install.

- -  - -  - -

1) Dselect on my machine seems to be corrupt, and need to fix it . . .
2) Dpkg is hard to determine if it is still working . . .

- -  - -  - -

chris-cossmans-power-mac-g5:/sw/bin chriscossman$ ./apt-get
apt 0.5.4 for darwin powerpc compiled on Jun  7 2006 09:37:54
Usage: apt-get [options] command
        apt-get [options] install|remove pkg1 [pkg2 ...]
        apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
    update - Retrieve new lists of packages
    upgrade - Perform an upgrade
    install - Install new packages (pkg is libc6 not libc6.deb)
    remove - Remove packages
    source - Download source archives
    build-dep - Configure build-dependencies for source packages
    dist-upgrade - Distribution upgrade, see apt-get(8)
    dselect-upgrade - Follow dselect selections
    clean - Erase downloaded archive files
    autoclean - Erase old downloaded archive files
    check - Verify that there are no broken dependencies

Options:
   -h  This help text.
   -q  Loggable output - no progress indicator
   -qq No output except for errors
   -d  Download only - do NOT install or unpack archives
   -s  No-act. Perform ordering simulation
   -y  Assume Yes to all queries and do not prompt
   -f  Attempt to continue if the integrity check fails
   -m  Attempt to continue if archives are unlocatable
   -u  Show a list of upgraded packages as well
   -b  Build the source package after fetching it
   -c=? Read this configuration file
   -o=? Set an arbitary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
                        This APT has Super Cow Powers.
chris-cossmans-power-mac-g5:/sw/bin chriscossman$ ./apt-get dselect- 
upgrade
E: Could not open lock file /sw/var/lib/dpkg/lock - open (13  
Permission denied)
E: Unable to lock the administration directory (/sw/var/lib/dpkg/),  
are you root?
chris-cossmans-power-mac-g5:/sw/bin chriscossman$ sudo ./apt-get  
dselect-upgradeReading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] Y
Setting up fink (0.24.23-31) ...
Checking system... powerpc-apple-darwin8.11.0
Use of uninitialized value in substitution (s///) at /sw/lib/perl5/ 
Fink/Services.pm line 1238.
Under Mac OS X 10.4.11, Fink must be bootstrapped or updated with gcc  
4.0,
however, you currently have gcc (unknown version) selected. To correct
this problem, run the command:

     sudo gcc_select

You may need to install a more recent version of the Developer Tools
(Apple's XCode) to be able to do so.
/sw/bin/dpkg: error processing fink (--configure):
  subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
  fink
W: Couldn't stat source package list http://us.dl.sourceforge.net  
10.3/release/main Packages (/sw/var/lib/apt/lists/ 
us.dl.sourceforge.net_fink_direct% 
5fdownload_dists_10.3_release_main_binary-darwin-powerpc_Packages) -  
stat (2 No such file or directory)
W: Couldn't stat source package list http://akadns.http 10.4/crypto  
Packages (/sw/var/lib/apt/lists/ 
akadns.http__ftp.dk.debian.org_debian_ftpsync_ftpsync-23.tar.gz_dists_10 
.4_crypto_binary-darwin-powerpc_Packages) - stat (22 Invalid argument)
W: Couldn't stat source package list http://ftp.dk.debian.org 10.3/ 
release/main Packages (/sw/var/lib/apt/lists/ 
ftp.dk.debian.org_debian_dists_lenny_Contents- 
powerpc.gz_dists_10.3_release_main_binary-darwin-powerpc_Packages) -  
stat (2 No such file or directory)
W: Couldn't stat source package list http://us.dl.sourceforge.net  
10.3/release/main Packages (/sw/var/lib/apt/lists/ 
us.dl.sourceforge.net_fink_direct% 
5fdownload_dists_10.3_release_main_binary-darwin-powerpc_Packages) -  
stat (2 No such file or directory)
W: Couldn't stat source package list http://akadns.http 10.4/crypto  
Packages (/sw/var/lib/apt/lists/ 
akadns.http__ftp.dk.debian.org_debian_ftpsync_ftpsync-23.tar.gz_dists_10 
.4_crypto_binary-darwin-powerpc_Packages) - stat (22 Invalid argument)
W: Couldn't stat source package list http://ftp.dk.debian.org 10.3/ 
release/main Packages (/sw/var/lib/apt/lists/ 
ftp.dk.debian.org_debian_dists_lenny_Contents- 
powerpc.gz_dists_10.3_release_main_binary-darwin-powerpc_Packages) -  
stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Sub-process /sw/bin/dpkg returned an error code (1)
chris-cossmans-power-mac-g5:/sw/bin chriscossman$ sudo apt-get update
Err http://akadns.http 10.4/crypto Packages
   Could not resolve 'akadns.http'
Err http://akadns.http 10.4/crypto Release
   Could not resolve 'akadns.http'
Err http://ftp.dk.debian.org 10.3/release/main Packages
   404 Not Found
Ign http://ftp.dk.debian.org 10.3/release/main Release
8% [Connecting to us.dl.sourceforge.net (69.9.164.2)]

Any ideas as to why this is happening would sure help . . .!


--
Package manager version: 0.24.23
Distribution version: 0.8.1 powerpc
Mac OS X version: 10.4.11
Xcode version: 2.5
gcc version: 3.3 20030304 (Apple Computer, Inc. build 1819)
make version: 3.80
Feedback Courtesy of FinkCommander

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
fink-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.