Ubuntu Pastebin

Paste from Me at Thu, 22 Jan 2015 00:31:28 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  screen-resolution-extra
Use 'apt-get autoremove' to remove it.
The following packages will be upgraded:
  python3-apt
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/139 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 232078 files and directories currently installed.)
Preparing to unpack .../python3-apt_0.9.3.5ubuntu1_amd64.deb ...
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 198, in <module>
    main()
  File "/usr/bin/py3clean", line 184, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    stdout = str(stdout, 'utf-8')
TypeError: str() takes at most 1 argument (2 given)
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 198, in <module>
    main()
  File "/usr/bin/py3clean", line 184, in main
    pfiles = set(dpf.from_package(options.package))
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    stdout = str(stdout, 'utf-8')
TypeError: str() takes at most 1 argument (2 given)
dpkg: error processing archive /var/cache/apt/archives/python3-apt_0.9.3.5ubuntu1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/py3compile", line 288, in <module>
    main()
  File "/usr/bin/py3compile", line 268, in main
    options.force, options.optimize, e_patterns)
  File "/usr/bin/py3compile", line 152, in compile
    for fn, versions_to_compile in filter_files(files, e_patterns, versions):
  File "/usr/bin/py3compile", line 104, in filter_files
    for fn in files:
  File "/usr/share/python3/debpython/files.py", line 70, in filter_public
    for fn in files:
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    stdout = str(stdout, 'utf-8')
TypeError: str() takes at most 1 argument (2 given)
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-0ubuntu6.5) ...
Errors were encountered while processing:
 /var/cache/apt/archives/python3-apt_0.9.3.5ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Download as text