Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.45 kB
# import the core of apt_pkg
import apt_pkg
import sys
import os
# import some fancy classes
from apt.package import Package
from apt.cache import Cache
from apt.progress import OpProgress, FetchProgress, InstallProgress, CdromProgress
from apt.cdrom import Cdrom
from apt_pkg import SizeToStr, TimeToStr, VersionCompare
# init the package system
apt_pkg.init()
import warnings
warnings.warn("apt API not stable yet", FutureWarning)
del warnings
Jump to Line
Something went wrong with that request. Please try again.