deivid-rodriguez / apt-downgrade

Automatically exported from code.google.com/p/apt-downgrade
0 stars 1 forks source link

Error when trying to downgrade #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run the code
2. press yes to a downgrade choice
3. error

What is the expected output? What do you see instead?
Expect package to be downgraded, instead I get:

Force 'ladish' version
  from 1:1+git20121120-1+pylash2~raring1
  to   1+dfsg0-4 (saucy) [y]? y
Traceback (most recent call last):
  File "./apt-downgrade.py", line 77, in <module>
    pkg.mark_install(autoFix=False, fromUser=False)
TypeError: mark_install() got an unexpected keyword argument 'autoFix'

What version of the product are you using? On what operating system?
hg version, on kubuntu saucy.

Please provide any additional information below.

Original issue reported on code.google.com by naught...@gmail.com on 12 Nov 2013 at 11:45

GoogleCodeExporter commented 9 years ago
in the file, replace autoFix with auto_fix and fromUser with from_user. Then 
change cache.commit to just be cache.commit(). That's how I got it to work.

Original comment by directr...@gmail.com on 12 Jan 2014 at 5:15

GoogleCodeExporter commented 9 years ago
And when I say change cache.commit, I mean replace the entire cache.commit call 
with that empty call.

Original comment by directr...@gmail.com on 12 Jan 2014 at 5:16