Results 1 to 4 of 4

Thread: apt error

  1. #1
    Join Date
    Dec 2008
    Location
    Alaska
    Beans
    30
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Unhappy apt error

    Hello
    I have noticed that I have 2 different computers running Ubuntu 10.04 and both of them have the same problem. When the internet is off at the router and it checks for updates it throws the following error.

    an internal system error has occured
    a problem that we were not expecting has occured

    Error Type: <type 'exceptions.TypeError'>
    Error Value: coercing to Unicode: need string or buffer, exceptions.SystemError found
    File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2216, in <module>
    main()
    File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2213, in main
    run(args, options.single)
    File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2175, in run
    backend.dispatcher(args)
    File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 710, in dispatcher
    self.dispatch_command(args[0], args[1:])
    File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 606, in dispatch_command
    self.refresh_cache(force)
    File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 202, in _locked_cache
    func(*args, **kwargs)
    File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1498, in refresh_cache
    format_string(error.message))
    File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 723, in format_string
    txt = unicode(text, encoding, errors='replace')

    I reinstalled the aptbackend but that didnt seem to help. I looked for an aptbacked.py but cant find that to update or reinstall. Can someone tell me how to fix this?

    thanks
    Robert

  2. #2
    Join Date
    Dec 2008
    Location
    Cleveland, OH, USA
    Beans
    489
    Distro
    Ubuntu Studio Development Release

    Re: apt error

    Doesn't apt require an internet connection?
    Be sure to mark your thread [SOLVED] if your issue has been fixed!
    How to get answers as quickly as possible | Wireless Issue? | How to use 'Code' tags

  3. #3
    Join Date
    Jan 2010
    Location
    /bin/bash
    Beans
    106
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: apt error

    apt uses internet to check for updates/install software. Internet connection is a must.

  4. #4
    Join Date
    Dec 2008
    Location
    Alaska
    Beans
    30
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: apt error

    but shouldnt it simply see that one isnt present and check again later until one is active? I never started getting this error until 10.04. In the past it would simply check, no connection it would check again later and when one was present it would go through the checking process...

    Robert

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
  •