Find the answer to your Linux question:
Results 1 to 5 of 5
Hi everybody, I am new in Linux and I have been trying to install a number of things...somewhere in the process I must have deleted something and I cannot open ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    35

    failure of adept and all installers in Kubuntu

    Hi everybody,

    I am new in Linux and I have been trying to install a number of things...somewhere in the process I must have deleted something and I cannot open my adept, package managers or install anything through the terminal...

    Here is what the terminal responds when I try ...
    Any help? THank you in advance...

    abel@abel-laptop:~$ /etc/apt/sources.list
    bash: /etc/apt/sources.list: Permission denied
    abel@abel-laptop:~$ E: _cache->open() failed
    bash: syntax error near unexpected token `('
    abel@abel-laptop:~$ sudo apt-get install adept
    E: Type 'exit' is not known on line 1 in source list /etc/apt/sources.list.d/pidgin-ppa.list
    E: The list of sources could not be read.
    abel@abel-laptop:~$ E: _cache->open() failed
    bash: syntax error near unexpected token `('
    abel@abel-laptop:~$ sudo apt-get install adept
    E: Type 'exit' is not known on line 1 in source list /etc/apt/sources.list.d/pidgin-ppa.list
    E: The list of sources could not be read.
    abel@abel-laptop:~$ sudo apt-get install pidgin
    E: Type 'exit' is not known on line 1 in source list /etc/apt/sources.list.d/pidgin-ppa.list
    E: The list of sources could not be read.

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    abel@abel-laptop:~$ /etc/apt/sources.list
    bash: /etc/apt/sources.list: Permission denied
    You're giving the path to the file, but no operator here. If you're trying to open up your sources.list, you need to indicate a program fist, like so
    Code:
    kwrite /etc/apt/sources.list
    If you intend to edit the file, you need to preface kwrite with sudo, for root priveleges.

    Speaking of, open up your source.list in kwrite or some other text editor and post it here. Looks like there's just some syntax errors in the file.

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    35
    Thank you
    I tried but it seems I really did a mess...now I think it is easier to reinstall kubuntu from the disk

    In case, for the future, is there any commant that resets kubuntu to a determined point? For instance, I know I made a mess yesterday evening so it would be enough to reject every change that was made after, say, 7pm
    and reintroduce the settings that the system had in the afternoon, is that possible?

  4. #4
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,946
    THIS is probably not what you are looking for. It sounds like you are looking for System Restore in Linux.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

  5. #5
    Just Joined!
    Join Date
    Mar 2009
    Posts
    35
    I was not aware of this but it is most likely what I will need if I continue exploring linux by myself. Thank a million

Posting Permissions

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