Killing a Repository Entry

I am having a problem since upgrading from OPENSuSE 11.2 to 11.4 (both 64bit). The problem goes back to some issue with repositories which is what “forced” me into an 11.4 upgrade.

So, upon completing the install, and every time I run YAST to do updates, I get a message about this:

“Error refreshing service ATI Repository (http://www.ati.com/suse/11.2):”

How is it that this repository entry survived the upgrade install? Ok, forget that, how do I get rid of this when I can’t get it to display in the list of repositories I have?

What is even worse, I don’t have ATI drivers on this system (I had uninstalled them a year ago, pulled in the NVidea, esw, etc.) as I had put an NVidea adapter card in, in place of the ATI built in (on the MOBO). Somehow that dropping of the repository didn’t work, and now I have this thing in limbo?

Thanx in advance.

ps. I can’t figure out what string to search in my file system or I’d have deleted the sucker last night during the install manual reboot.

to list repositories, use

zypper lr

to remove a repository, use:


su -l
zypper rr <id or Alias of repo>

where id is the number displayed in the first column of the output of zypper lr

  • btw may I suggest you post the output of **zypper lr ** here?

As I read it, zypper didn’t find it either. This seems to be a Yast problem of somekind. However, since no one believes me when I tell them things:

| Alias | Name | Enabled | Refresh

—±----------------------------------------------------±----------------------------------------------------±--------±-------
1 | download.nvidia.com-opensuse | nVidia Graphics Drivers | Yes | Yes
2 | download.opensuse.org-Apps | openSUSE BuildService - GNOME:Apps | Yes | Yes
3 | download.opensuse.org-Banshee | openSUSE BuildService - Banshee | Yes | Yes
4 | download.opensuse.org-Community | openSUSE BuildService - Mono:Community | Yes | Yes
5 | download.opensuse.org-Education | openSUSE BuildService - Education | Yes | Yes
6 | download.opensuse.org-Extra | openSUSE BuildService - KDE:Extra | Yes | Yes
7 | download.opensuse.org-STABLE | openSUSE BuildService - OpenOffice.org | Yes | Yes
8 | download.opensuse.org-UpdatedApps | openSUSE BuildService - KDE:UpdatedApps | Yes | Yes
9 | download.opensuse.org-Wine | openSUSE BuildService - Wine CVS Builds | Yes | Yes
10 | download.opensuse.org-database | openSUSE BuildService - Database | Yes | Yes
11 | download.opensuse.org-filesystems | openSUSE BuildService - filesystems | Yes | Yes
12 | download.opensuse.org-games | openSUSE BuildService - Games | Yes | Yes
13 | download.opensuse.org-mozilla | openSUSE BuildService - Mozilla | Yes | Yes
14 | download.opensuse.org-openSUSE_11.4_Update_standard | openSUSE BuildService - Virtualization (VirtualBox) | Yes | Yes
15 | download.opensuse.org-packages | openSUSE BuildService - Java:packages | Yes | Yes
16 | download.opensuse.org-php | openSUSE BuildService - PHP | Yes | Yes
17 | download.opensuse.org-standard | Main Repository (Contrib) | Yes | Yes
18 | download.opensuse.org-webcam | openSUSE BuildService - Drivers for webcams | Yes | Yes
19 | openSUSE-11.4-11.4-0 | openSUSE-11.4-11.4-0 | No | No
20 | opensuse-guide.org-repo | libdvdcss repository | Yes | Yes
21 | packman.inode.at-suse | Packman Repository | Yes | Yes
22 | repo-debug | openSUSE-11.4-Debug | Yes | Yes
23 | repo-debug-update | openSUSE-11.4-Update-Debug | Yes | Yes
24 | repo-non-oss | openSUSE-11.4-Non-Oss | Yes | Yes
25 | repo-oss | openSUSE-11.4-Oss | Yes | Yes
26 | repo-source | openSUSE-11.4-Source | Yes | Yes
27 | repo-update | openSUSE-11.4-Update | Yes | Yes

Please post the result of:

grep ati.com /etc/zypp/repos.d/*

and

ls -a /etc/zypp/repos.d

grep ati.com /etc/zypp/repos.d/*

>> Gave no output<<

ls -a /etc/zypp/repost.d

ls: cannot access /etc/zypp/repost.d: No such file or directory

However, by doing the following:
cd /etc/zypp/repost.d
and then ls:

ls

download.nvidia.com-opensuse.repo download.opensuse.org-standard.repo
download.opensuse.org-Apps.repo download.opensuse.org-UpdatedApps.repo
download.opensuse.org-Banshee.repo download.opensuse.org-webcam.repo
download.opensuse.org-Community.repo download.opensuse.org-Wine.repo
download.opensuse.org-database.repo openSUSE-11.4-11.4-0.repo
download.opensuse.org-Education.repo opensuse-guide.org-repo.repo
download.opensuse.org-Extra.repo packman.inode.at-suse.repo
download.opensuse.org-filesystems.repo repo-debug.repo
download.opensuse.org-games.repo repo-debug-update.repo
download.opensuse.org-mozilla.repo repo-non-oss.repo
download.opensuse.org-openSUSE_11.4_Update_standard.repo repo-oss.repo
download.opensuse.org-packages.repo repo-source.repo
download.opensuse.org-php.repo repo-update.repo
download.opensuse.org-STABLE.repo

Going to /var/log/zypp and doing a cat on “history”, there is nothing in the output that matches ati.

This is starting to look like a headache.

The real question is, where does yast keep stuff? If I could figure that out, I’d figure out a way to kill this.

But a search on “ati” returns an incredible number of false positives (e.g., administrative, animation, activation, education – basically everything that has “ation” ).

Look in /etc/zypp/services.d and remove the ati repo if it’s there !

@wylbur: please use CODE tags around your computer text like please_try_again: Posting in Code Tags - A Guide

So there is NO ati entry.

And a search of the entire file system (including all mounts) for “ati” returns an incredible number of false positives (as I stated before). Search for “ati.com” returns nothing (starting at “/” ).

This is the first upgrade install using OPENSuSE (and I’ve been doing them from 10.1) that I have done where a repositiory reference continued from the prior install (that is going from a lower level to a newer level – again 11.2 to 11.4 in this instance). And I can’t seem to find where Yast would keep it.

Nowhere YaST is a frontend to zypper … and to many other services and utilities. zypper does the job. Your ati entry - or ati related metadata - should be in some of the following locations:

  • /etc/zypp/repos.d
  • /etc/zypp/services.d
  • /var/cache/zypp/raw
  • /var/cache/zypp/solv

Use the Midnight Commander (mc) to browse these directories as root in a terminal. That would make the search easier.

After finding, in /etc/zypp/services.d/services.services, ati, I used kate to edit and delete the reference.

Now I run Yast to do software updates and I get:

There was an error in the repository initialization.
Error refreshing service ATI Repository ([Page Not Found](http://www.ati.com/suse/11.2):)

Parse error: repoindex.xml[129] xmlParseEntityRef: no name
History:
- repoindex.xml[129] EntityRef: expecting ';' 

Which is a bit different than it was.

So I ran a search on repoindex and can only find it in /var/adm/mount/AP_*. In doing kate against the three discrete files, none of them contain “ati.com” or even “ati.”. So I am still baffled as to where this is now coming from.

What did you find exactly in /etc/zypp/services.d? If it’s a file that refers in some way to an ati repo, don’t try to edit it, just delete this file.

Since I did not know what happens if this file doesn’t exist, I removed all references (stanza) to ati.

Success at last. I did a reboot after dealing with some screensaver issues (with both KDE and Gnome) and now when I run Yast for updates, it doesn’t complain about ati anymore.