Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: How to delete a software source that's making trouble?

  1. #11
    Join Date
    Oct 2006
    Location
    NL, EU
    Beans
    1,477
    Distro
    Ubuntu Development Release

    Re: How to delete a software source that's making trouble?

    Quote Originally Posted by Elfy View Post
    Won't help with this - ppa's have their own list in /etc/apt/sources.list.d/
    Thx. Had not looked at that. Seems I've got sme relearning to do!
    Last edited by mlentink; July 31st, 2012 at 06:57 PM.
    I'm thinking about it

  2. #12
    Join Date
    Jan 2009
    Location
    South Carolina
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to delete a software source that's making trouble?

    Quote Originally Posted by BlueAZ View Post
    Wow! I entered this & Terminal went wild, doing a whole bunch of package updates, but ending with the same message:
    Processing triggers for menu ...
    E: Type 'p://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    E: The list of sources could not be read.
    E: Type 'p://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    E: The list of sources could not be read.

    What next?
    Seems like it might have installed correctly though -- try running:
    Code:
    ppa-purge -h
    Do you get ppa-purge's help page?

  3. #13
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: How to delete a software source that's making trouble?

    Code:
    gksudo gedit /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    Copy and paste the contents up here.

  4. #14
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: How to delete a software source that's making trouble?

    Code:
    sudo rm /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    sudo apt-get update
    Cheesemill

  5. #15
    Join Date
    Oct 2006
    Location
    NL, EU
    Beans
    1,477
    Distro
    Ubuntu Development Release

    Re: How to delete a software source that's making trouble?

    Quote Originally Posted by BlueAZ View Post
    That command opens a document with a lot of info about Restricted Extras. I don't want to change that ppa, do I? Nothing in it about x-swap.
    Sorry, I was wrong as per Elfy's earleir post...
    I'm thinking about it

  6. #16
    Join Date
    Jan 2012
    Location
    Arizona
    Beans
    152
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How to delete a software source that's making trouble?

    Quote Originally Posted by ubudog View Post
    Try:
    Code:
    sudo apt-get install ppa-purge
    And then retry Elfy's post.
    Oh I see -- install ppa purge and THEN run Elfy's command. OK, tried this, & got this:

    :~$ sudo ppa-purge ppa:ubuntu-x-swat/x-updates
    :
    Updating packages lists
    E: Type 'p://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    E: The list of sources could not be read.
    Warning: apt-get update failed for some reason
    PPA to be removed: ubuntu-x-swat x-updates
    comm: file 2 is not in sorted order
    Package revert list generated:
    libva1/oneiric libva-x11-1/oneiric xserver-xorg-video-savage/oneiric

    Disabling ubuntu-x-swat PPA from
    /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    Updating packages lists
    E: Type 'p://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    E: The list of sources could not be read.
    Warning: apt-get update failed for some reason
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Selected version '1.0.12-2' (Ubuntu:11.10/oneiric [amd64]) for 'libva1'
    Selected version '1.0.12-2' (Ubuntu:11.10/oneiric [amd64]) for 'libva-x11-1'
    Selected version '1:2.3.2-3ubuntu2' (Ubuntu:11.10/oneiric [amd64]) for 'xserver-xorg-video-savage'
    The following packages were automatically installed and are no longer required:
    screen-resolution-extra dkms
    Use 'apt-get autoremove' to remove them.
    The following packages will be DOWNGRADED:
    libva-x11-1 libva1 xserver-xorg-video-savage
    0 upgraded, 0 newly installed, 3 downgraded, 0 to remove and 96 not upgraded.
    Need to get 129 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libva-x11-1 amd64 1.0.12-2 [16.0 kB]
    Get:2 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libva1 amd64 1.0.12-2 [38.6 kB]
    Get:3 http://us.archive.ubuntu.com/ubuntu/ oneiric/main xserver-xorg-video-savage amd64 1:2.3.2-3ubuntu2 [74.7 kB]
    Fetched 129 kB in 2s (61.8 kB/s)
    dpkg: warning: downgrading libva-x11-1 from 1.0.15-1~xup1 to 1.0.12-2.
    (Reading database ... 235929 files and directories currently installed.)
    Preparing to replace libva-x11-1 1.0.15-1~xup1 (using .../libva-x11-1_1.0.12-2_amd64.deb) ...
    Unpacking replacement libva-x11-1 ...
    dpkg: warning: downgrading libva1 from 1.0.15-1~xup1 to 1.0.12-2.
    Preparing to replace libva1 1.0.15-1~xup1 (using .../libva1_1.0.12-2_amd64.deb) ...
    Unpacking replacement libva1 ...
    dpkg: warning: downgrading xserver-xorg-video-savage from 1:2.3.3-1~oneiric~xup1 to 1:2.3.2-3ubuntu2.
    Preparing to replace xserver-xorg-video-savage 1:2.3.3-1~oneiric~xup1 (using .../xserver-xorg-video-savage_1%3a2.3.2-3ubuntu2_amd64.deb) ...
    Unpacking replacement xserver-xorg-video-savage ...
    Processing triggers for man-db ...
    Setting up libva-x11-1 (1.0.12-2) ...
    Setting up libva1 (1.0.12-2) ...
    Setting up xserver-xorg-video-savage (1:2.3.2-3ubuntu2) ...
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    E: Type 'p://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    E: The list of sources could not be read.
    E: Type 'p://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    E: The list of sources could not be read.
    E: Type 'p://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    E: Type 'p://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    E: The list of sources could not be read.
    E: Type 'p://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu' is not known on line 1 in source list /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    E: The list of sources could not be read.
    Warning: Something went wrong, packages may not have been reverted

    Seems this source is still blocking its own removal...!?

  7. #17
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: How to delete a software source that's making trouble?

    You have an issue with the list - I'd follow #13 for the moment

    You could follow #14 but then I think that the ppa purge will fail as well - and we have no idea what you've done yet

  8. #18
    Join Date
    Jan 2012
    Location
    Arizona
    Beans
    152
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How to delete a software source that's making trouble?

    Quote Originally Posted by wojox View Post
    Code:
    gksudo gedit /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    Copy and paste the contents up here.
    Got this:
    p://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu oneiric main

  9. #19
    Join Date
    Jan 2012
    Location
    Arizona
    Beans
    152
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How to delete a software source that's making trouble?

    Quote Originally Posted by Cheesemill View Post
    Code:
    sudo rm /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    sudo apt-get update
    Got this:
    sudo rm /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list
    rm: cannot remove `/etc/apt/sources.list.d/ubuntu-x-swat-x-updates-oneiric.list': No such file or directory

  10. #20
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: How to delete a software source that's making trouble?

    Quote Originally Posted by BlueAZ View Post
    Got this:
    p://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu oneiric main
    Run the command again and add htt to the beginning of the line

    http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu oneiric main

    The save and do

    Code:
    sudo apt-get update
    Any errors now?

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •