Announcement

Collapse
No announcement yet.

Target Packages (main/binary-amd64/Packages) is configured multiple times

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [RESOLVED] Target Packages (main/binary-amd64/Packages) is configured multiple times

    I thought I would try fixing this first before taking more extreme measures. I recently upgraded from 25.04 to 25.10 & learned that I needed to re-add PPA's in the Software Sources. I guess with Vivaldi, I seem to have made a mistake, maybe adding it more than once, but in the Software Sources, it shows up on 3 different lines with all of them being slightly different in the name/description.

    I'm not sure what to do about this. I've tried checking/unchecking each one in the Software Sources, but no matter which ones I have enabled or disabled, I still get some type of error when running the "sudo update" command in Konsole. The included screenshots show what happens when I have all 3 Vivaldi Software Sources checked, which I did for the purpose of writing this.

    Also, in the screenshot of the .sources & .list files, I was wondering if I should just delete the two most recent ones?​

    Click image for larger version  Name:	KonsoleErrors4.jpg Views:	58 Size:	122.0 KB ID:	689274 Click image for larger version  Name:	SoftwareSources4.jpg Views:	50 Size:	91.1 KB ID:	689275 Click image for larger version  Name:	VivaldiFiles.jpg Views:	48 Size:	25.3 KB ID:	689276
    Last edited by Cincinnatus; Yesterday, 03:09 AM.

    #2
    You can remove the file shown in the terminal output --- (using text instead of images is easier to read for this terminal output ) /etc/apt/sources.list.d/vivaldi.list, and keep the vivaldi.sources, which is the more current apt file format. I have no idea which listing goes with which entry in the GUI tool.

    If the entry in the software sources tool that shows "(Source Code)" for Vivaldi is still there after removing the file, you can just un-check this if you want - it is not hurting anything, but is unnecessary unless you want source files.

    Comment


      #3
      Thanks for the response, but I guess I don't really understand how to delete the ".list" files. If I open Konsole and type "/etc/apt/sources.list.d​" it just tells me it's a directory. If I use sudo and type it in, it returns this error

      thread 'main' panicked at src/exec/use_pty/monitor.rs:283:45:
      internal error: entered unreachable code
      note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
      sudo-rs: cannot execute '/etc/apt/sources.list.d': Permission denied (os error 13)

      Also, if I open Dolphin and navigate to the files that way, it will not let me delete the files. The "Delete" option is grayed out.


      Comment


        #4
        Yes, that is a directory, not a file. You need sudo (admin) privileges for this, as it is a system level location.
        Code:
        sudo rm /full/path/to/file.name.
        But an easy way to remove the files is to use Dolphin to navigate to the directory (/etc/apt/), right-click on the sources.list.d directory, and use the "open as admin" or similarly named option to open the folder with elevated privileges. Then you can delete the desired file. Just be careful, of course.

        Comment

        Users Viewing This Topic

        Collapse

        There are 0 users viewing this topic.

        Working...
        X