[PlanetCCRMA] Re: apt broken after installing ATrpms?

Axel Thimm planetccrma@ccrma.Stanford.EDU
Sun Oct 17 06:02:01 2004


--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 17, 2004 at 10:28:00AM +0100, Nathaniel Virgo wrote:
> I finally decided to go ahead and install ATrpms over the top of my=20
> Planet install, but now whenever I run apt, apt-cache or synaptic I get
>=20
> [root@sherka nev]# apt-get update
> E: Could not open file /etc/apt/rpmpriorities - open (2 No such file or=
=20
> directory)
> E: could not open package priority file /etc/apt/rpmpriorities
>=20
> I do remember playing with apt's configuration files at some point but I=
=20
> thought I'd put them all back how they were.  There were several errors=
=20
> and warnings that appeared when doing apt-get update - the ones that=20
> seem relevant are:
>=20
>   9:apt                    ###########################################=20
> [ 10%]
> warning: /etc/apt/vendors.list saved as /etc/apt/vendors.list.rpmsave
> warning: /etc/apt/sources.list saved as /etc/apt/sources.list.rpmsave
> warning: /etc/apt/rpmpriorities saved as /etc/apt/rpmpriorities.rpmsave
> warning: /etc/apt/apt.conf saved as /etc/apt/apt.conf.rpmsave
>  10:synaptic               ###########################################=20
> [ 11%]
>  11:atrpms-package-config  warning: /etc/apt/apt.conf created as=20
> /etc/apt/apt.conf.rpmnew
> warning: /etc/apt/rpmpriorities created as /etc/apt/rpmpriorities.rpmnew
> warning: /etc/apt/sources.list created as /etc/apt/sources.list.rpmnew
> warning: /etc/apt/vendors.list created as /etc/apt/vendors.list.rpmnew
> ########################################### [ 12%]
> Can't open /etc/apt/sources.list: No such file or directory.

Wow, that's a funny bug. Both the old and the new packages are afraid
to take responsibility on the modified configuration files. Never seen
this before, looks like an rpm bug/feature ... (?)

> Anyway, the *.rpmsave and *.rpmnew files are there in /etc/apt -- should=
=20
> I just copy them so they have the right names and if so which ones?

Yes, I'd move the *.rpmsave back to the normal names to get the old
and known working configuration back. Then I'd install
medley-package-config from http://atrpms.net/name/medley-package-config/
(which will install under *.rpmnew) and merge/takeover con fig files
according to your personal preferences. Or you could start with the
medley-package-config files and modify them from there.

> Is this supposed to happen?

No, that was quite unexpected.
--=20
Axel.Thimm at ATrpms.net

--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBcm0FQBVS1GOamfERAmIKAKCVI7yPQCxPqqkXNf/lbs/toO5TWgCdHmt+
mSOAPqC9loCE3vk19lTVM/M=
=Mtrb
-----END PGP SIGNATURE-----

--fUYQa+Pmc3FrFX/N--