[Bug 1764928] Re: Please document apt-daily

2018-08-22 Thread madumlao
I see, this must have been updated on a later version.

Under Ubuntu 16.04.5, and up to apt-1.2.27, the man page reads:

PERIODIC AND ARCHIVES OPTIONS
   APT::Periodic and APT::Archives groups of options configure behavior of 
apt periodic
   updates, which is done by the /etc/cron.daily/apt script. See the top of 
this script
   for the brief documentation of these options.


This must have been fixed upstream in a later version.

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

Title:
  Please document apt-daily

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1764928] Re: Please document apt-daily

2018-08-22 Thread madumlao
apt.conf(5) is inaccurate.

apt.conf(5) references /etc/cron.daily/apt; apt installs /etc/cron.daily
/apt-compat.

Furthermore, the man page gives reference to users to `see the top of
the script for explanation of these (periodic and archive) options`. The
top of /etc/cron.daily/apt-compat does not have an explanation of those
options.

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

Title:
  Please document apt-daily

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1764928] [NEW] Please document apt-daily

2018-04-17 Thread madumlao
Public bug reported:

The following systemd services are installed along with apt:

/lib/systemd/system/apt-daily.timer
/lib/systemd/system/apt-daily-upgrade.timer
/lib/systemd/system/apt-daily-upgrade.service
/lib/systemd/system/apt-daily.service

By default, these run the equivalent of "apt update", and "apt upgrade"
at specified times. However, this behavior is documented nowhere in the
man pages or /usr/share/doc.

Furthermore, they run the command /usr/lib/apt/apt.systemd.daily, which
is also undocumented, nor does it respond to a --help option. A non-
savvy Linux user will not be able to determine that this is a shell
script and find out what it does. Or worse, a partially-savvy Linux user
will be able to determine that this is a shell script, and will read it
imperfectly (usage is also not described in script comments) ending up
with a wrong idea of what it does.

The idea is to keep the system updates. That is a GOOD THING (tm).

But it relies on undocumented behavior. That is a BAD THING (tm).

Can we have the apt-daily service documented?


madumlao@lezard ~ $ lsb_release -rd
Description:Ubuntu 16.04.4 LTS
Release:16.04


apt version: 1.2.26

** Affects: apt (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Please document apt-daily

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 238013] Re: yum seems to depend on python2.4, but agrees with python2.5

2008-06-13 Thread madumlao
Frakie, your yum is already working. However, you can't (or shouldn't)
install packages on debian using yum because yum will conflict with apt-
get. At most, a debian "yum" script should just be a frontend to apt-
get.

My intended use of yum is to use a separate install root with which to
demo rpm installation to students. I create a /usr/yum folder and point
the yum.conf file to that install root. Installation will work, but
relative only to that root. rpm/yum should not really touch a debian
system directly.

-- 
yum seems to depend on python2.4, but agrees with python2.5
https://bugs.launchpad.net/bugs/238013
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 238013] [NEW] yum seems to depend on python2.4, but agrees with python2.5

2008-06-06 Thread madumlao
Public bug reported:

Binary package hint: yum

I am trying to write out an Linux training course for system
administrators. I am aiming to be distribution neutral. For this matter,
I intend to tackle both yum and apt-get. I am running Ubuntu 8.04
desktop and am intending to demonstrate usage of both yum and apt-get.
Demonstration units will be running 8.04 server. I will be demonstrating
the use of both yum and rpm. However, the yum coming from the apt
repositories fails.

===sample command
[EMAIL PROTECTED]:~$ sudo yum install fluxbox 
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named cElementTree

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.5.2 (r252:60911, Apr 21 2008, 11:17:30) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]

If you cannot solve this problem yourself, please send this
message to <[EMAIL PROTECTED]>.
===

The package in question is python-celementtree. It is installed on my unit
under python2.4.

===verifying existence of cElementTree
[EMAIL PROTECTED]:~$ ls /usr/lib/python2.4/site-packages/cElementTree*
/usr/lib/python2.4/site-packages/cElementTree.so

/usr/lib/python2.4/site-packages/cElementTree-1.0.5_20051216-py2.4.egg-info:
dependency_links.txt  PKG-INFO  SOURCES.txt  top_level.txt
===
my celementtree version is also posted below.

What appears to happen is that yum tries to run under python2.5 and then
fails to find its dependencies.

What should happen is one of the following:
1) that yum runs under python2.4 and finds it dependencies
2) that celementtree has a python2.5 version (possibly not possible/compatible)

Some possible solutions/workarounds to the problem are
1) python alternatives system in debian has to be rethinked/developed to allow 
individual packages to select versions of python to run. (Does python have 
native working of this?) (possibly debian python bug)
2) python itself needs to allow individual packages to select versions of 
python to run. (see above) (possibly python feature request)
3) yum debian package needs to be smart enough to depend on and use the python 
version it works on.
4) edit #!/usr/bin/python -> #!/usr/bin/python2.4 in /usr/bin/yum and yum-arch 
executables. Quick and dirty solution, but it works and is the workaround I 
used. 

What should not happen is
1) user is told to change global python requirement to python2.5. This is a 
wrong solution. User may prefer python2.5 for most packages but need python2.4

I need further advise as to how to report this problem as it touches
different packages, but yum seems to be the closest logical choice.

=== bug report requirements.
Ubuntu version:
[EMAIL PROTECTED]:~$ lsb_release -rd
Description:Ubuntu 8.04
Release:8.04

Package versions:
yum:
  Installed: 2.4.0-3.1
  Candidate: 2.4.0-3.1
  Version table:
 *** 2.4.0-3.1 0
500 http://ph.archive.ubuntu.com hardy/universe Packages
100 /var/lib/dpkg/status

python-celementtree:
  Installed: 1.0.5-9
  Candidate: 1.0.5-9
  Version table:
 *** 1.0.5-9 0
500 http://ph.archive.ubuntu.com hardy/universe Packages
100 /var/lib/dpkg/status

python:
  Installed: 2.5.2-0ubuntu1
  Candidate: 2.5.2-0ubuntu1
  Version table:
 *** 2.5.2-0ubuntu1 0
500 http://ph.archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status

python2.4:
  Installed: 2.4.5-1ubuntu4
  Candidate: 2.4.5-1ubuntu4
  Version table:
 *** 2.4.5-1ubuntu4 0
500 http://ph.archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status

** Affects: yum (Ubuntu)
 Importance: Undecided
 Status: New

-- 
yum seems to depend on python2.4, but agrees with python2.5
https://bugs.launchpad.net/bugs/238013
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs