Cups problem

david walcroft d_j_w46 at bigpond.net.au
Sun Dec 16 00:00:30 UTC 2007


Craig White wrote:
> On Sat, 2007-12-15 at 00:45 -0500, Kevin J. Cummings wrote:
>> david walcroft wrote:
>> > [david at reddwarf ~]$ sudo yum clean all
>> > Cleaning up Everything
>> > [david at reddwarf ~]$ sudo yum install system-config-printer
>> > YumRepo Warning: not using ftp, http[s], or file for repos, skipping -
>> > baseurl=ftp://reddwarf:4skin46@premium.planetmirror.com <mailto:skin46 at premium.planetmirror.com>/pub/fedora/linux/updates/8/i386/
>> > 
>> > YumRepo Warning: not using ftp, http[s], or file for repos, skipping -
>> > failovermethod=priority
>> > http://mirror.optus.net/fedora/core/updates/8/i386/repodata/repomd.xml:
>> > [Errno 14] HTTP Error 404: Not Found
>> > Trying other mirror.
>> > updates-released                                                 26 kB
>> > 00:00
>> > http://planetmirror.com/pub/fedora/linux/updates/8/i386/repodata/repomd.xml:
>> > [Errno -1] Error importing repomd.xml for updates-released: Damaged
>> > repomd.xml file
>> > Trying other mirror.
>> > updates-released          100% |=========================| 2.3 kB    00:00
>> > primary.sqlite.bz2        100% |=========================| 914 kB    00:01
>> > YumRepo Warning: not using ftp, http[s], or file for repos, skipping -
>> > mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=i386 <http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=i386>
>> > 
>> > base                      100% |=========================| 4.3 kB    00:00
>> > http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Everything/i386/os/Fedora/repodata/repomd.xml:
>> > [Errno -1] Error importing repomd.xml for base: Damaged repomd.xml file
>> > Trying other mirror.
>> > base                      100% |=========================| 2.3 kB    00:00
>> > primary.sqlite.bz2        100% |=========================| 914 kB    00:01
>> > Excluding Packages in global exclude list
>> > Finished
>> > Setting up Install Process
>> > Parsing package install arguments
>> > No package system-config-printer available.
>>
>> This is a problem.  If you cannot find it, there is something wrong with
>> your fedora repo configuration.  In fact, it hasn't been called "base"
>> for a while now.  It should be called "fedora".
>>     
> ----
> good catch...his URL for 'updates-released' (which should be fedora) 
> points to an ftp with a login and password and it doesn't work.
>
> another URL for updates uses 'core' which clearly won't work.
>
> his URL for 'base' is clearly from an old Fedora because the folder is 
> now called 'Packages' and not 'Fedora'
>
> OK David...here's what you do. (you can probably just paste this all 
> into a terminal)
>
> su - # get root
> cd /etc/yum.repos.d/
> mkdir old-repos
> mv fedora* old-repos
> rpm -ivh --replacepkgs \
> http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Everything/i386/os/Packages/fedora-release-8-3.noarch.rpm
> yum update
> yum install system-config-printer
>
> This should get your repos back in order (whatever you did to the 
> configuration I don't know)
>
> Craig 
Running Transaction
  Installing: atlas                        ####################### [ 1/11]
  Installing: numpy                        ####################### [ 2/11]
  Updating  : inkscape                     ####################### [ 3/11]
  Updating  : cups-pdf                     ####################### [ 4/11]
libsepol.permission_copy_callback: Module cups_pdf depends on permission 
dccp_recv in class node, not satisfied
libsemanage.semanage_link_sandbox: Link packages failed
semodule:  Failed!
  Updating  : fedora-release               ####################### [ 5/11]
  Installing: blas                         ####################### [ 6/11]
  Updating  : system-config-rootpassword   ####################### [ 7/11]
Error unpacking rpm package system-config-rootpassword - 1.1.10-4.fc8.noarch
error: unpacking of archive failed on file 
/etc/security/console.apps/system-config-rootpassword;47646891: cpio: open
  Cleanup   : cups-pdf                     ####################### [ 8/11]
  Cleanup   : fedora-release               ####################### [ 9/11]
  Cleanup   : inkscape                     ####################### [10/11]

Dependency Installed: atlas.i386 0:3.6.0-12.fc8 blas.i386 0:3.1.1-2.fc8 
numpy.i386 0:1.0.3.1-1.fc8
Updated: cups-pdf.i386 0:2.4.6-6.fc8 fedora-release.noarch 0:8-5 
inkscape.i386 0:0.45.1-4.fc8 system-config-rootpassword.noarch 
0:1.1.10-4.fc8
Complete!
[root at reddwarf yum.repos.d]#

My repo.d is a hangover since about FC2/FC3,with bits and pieces such as 
'local-*'




More information about the users mailing list