Attempted to install unrar and messed up my updater

  • So As the title states I attempted to do this command to be able to install rar/unrar

    sudo echo 'deb ftp://ftp.us.debian.org/debian/ buster non- free

    deb http://security.debian.org/ buster/updates non-free deb http://volatile.de bian.org/debian-volatile buster/volatile non-free' >> /etc/apt/sources.list.d/bu ster.non-free.list


    And of course now I'm getting update errors of the following

    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; apt-get update 2>&1' with exit code '100': Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Hit:5 http://security.debian.org buster/updates InRelease Hit:6 https://download.docker.com/linux/debian buster InRelease Hit:7 https://openmediavault.github.io/packages usul InRelease Ign:8 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease Hit:9 http://linux.teamviewer.com/deb stable InRelease Ign:10 https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buster InRelease Hit:11 http://httpredir.debian.org/debian buster-backports InRelease Get:12 https://dl.bintray.com/openmediavault-plugin-developers/usul buster Release [4363 B] Hit:13 http://packages.openmediavault.org/public usul InRelease Get:14 https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buster Release [3538 B] Fetched 7901 B in 1s (10.7 kB/s) Reading package lists... E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again. W: Skipping acquire of configured file 'deb/binary-amd64/Packages' as repository 'http://security.debian.org buster/updates InRelease' doesn't have the component 'deb' (component misspelt in sources.list?) W: Skipping acquire of configured file 'deb/i18n/Translation-en' as repository 'http://security.debian.org buster/updates InRelease' doesn't have the component 'deb' (component misspelt in sources.list?) W: Skipping acquire of configured file 'http://volatile.debian.org/debian-volatile/binary-amd64/Packages' as repository 'http://security.debian.org buster/updates InRelease' doesn't have the component 'http://volatile.debian.org/debian-volatile' (component misspelt in sources.list?) W: Skipping acquire of configured file 'http://volatile.debian.org/debian-volatile/i18n/Translation-en' as repository 'http://security.debian.org buster/updates InRelease' doesn't have the component 'http://volatile.debian.org/debian-volatile' (component misspelt in sources.list?) W: Skipping acquire of configured file 'buster/volatile/binary-amd64/Packages' as repository 'http://security.debian.org buster/updates InRelease' doesn't have the component 'buster/volatile' (component misspelt in sources.list?) W: Skipping acquire of configured file 'buster/volatile/i18n/Translation-en' as repository 'http://security.debian.org buster/updates InRelease' doesn't have the component 'buster/volatile' (component misspelt in sources.list?) E: Failed to fetch ftp://ftp.us.debian.org/debian/dists/buster/InRelease E: Some index files failed to download. They have been ignored, or old ones used instead.

    I thought the sources.list file was the correct file to edit for i just commented everything out and was going to try a trial or error. of course i'm still getting the error... help?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!