[Bug 1174671] Re: Syntax error /etc/apt/apt.conf.d/01autoremove-kernels

Bertie Davel 1174671 at bugs.launchpad.net
Mon May 6 08:06:00 UTC 2013


Hi,
Thanks for the reply.  

Did a sudo gedit on the file.  The following line was the only (readable) text in the file:
../../../linux-headers-3.2.0-41/include/linux/rotary_encoder.h 

Attached is the original file with what I assume includes the binary junk.  Issue occurred  after completing a restart to update the PC.  
"Resolved" the issue by renaming the file.  Not sure if you will be able to recreate this error/problem.  

Please let me know if you need more info.

 Cheers


** Attachment added: "01autoremove-kernels.bak"
   https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1174671/+attachment/3666497/+files/01autoremove-kernels.bak

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1174671

Title:
  Syntax error /etc/apt/apt.conf.d/01autoremove-kernels

Status in “apt” package in Ubuntu:
  Incomplete

Bug description:
  Did a normal update of Ubuntu 12.04 via Software Updater.  Restart
  requested.  After restart Software Updater does not want to run/open
  and red "error/stop" icon is displayed in the top right toolbar.  The
  error message is:

  E: Syntax error /etc/apt/apt.conf.d/01autoremove-kernels:1: Extra junk
  at end of file

  Tried running sudo apt-get in various forms but always errors with above message.
  Tried running Synapitic, program exist with same error.
  Software Updater does not respond to mouse clicks.

  01autoremove-kernels is a compiled file - unable to edit.

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1174671/+subscriptions




More information about the foundations-bugs mailing list