Commit Graph

118 Commits

Author SHA1 Message Date
Michael Tremer
621dcd8609 pakfire: Fix dependency resolver
The old algorithm could potentially lock itself in an endless
recursion when there were packages with circular dependencies.

This version does not do this and is also faster.

Reported-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-04-07 12:04:02 +01:00
Jonatan Schlag
e6fd1f2d38 Fix in pakfire functions.sh
The if statement in line 89 and 99 are useless with the -e
conditional expression because it returns true if the path ist a
regular file or a directory.
So "/etc/init.d/ " returns true and "/etc/init.d/avahi" return also true,
but the statement should return only true if we have a regular file.
So -f if the right conditional expression, and we only try to execute
the init script if the path "/etc/init.d/${1}" points to a regular file.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:33:26 +01:00
Arne Fitzenreiter
33513817fa set version to IPFire 2.19 core100
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-03-20 09:36:33 +01:00
Arne Fitzenreiter
4e17785fc1 pakfire: remove wrong version of installed addons
in the installed addon list pakfire has showed
the latest version of the addon not the installed.

Fixes: #10875

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2015-11-11 14:54:21 +01:00
Michael Tremer
031becc0e2 pakfire: Resolve dependencies for upgraded packages
When updating more than one package, only new dependencies
for the first one are resolved. The rest was ignored.

This patch fixes that.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-07-09 21:01:10 +02:00
Michael Tremer
5555c4b887 pakfire: Fix installing dependencies when updating packages
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-07-09 20:53:33 +02:00
Lars Schuhmacher
b29a624081 pakfire: Add information about probable causes when pakfire cannot connect
Add information about probable causes when pakfire cannot connect. This
includes port 11371 TCP and incorrect date/time settings.

Signed-off-by: Lars Schuhmacher <larsen007@web.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-06-02 23:47:46 +02:00
Arne Fitzenreiter
1af34aa810 pakfire: skip corrupt "meta-" file.
This was created by a bug in dep resolve at upgrade.
2015-05-16 13:00:12 +02:00
Michael Tremer
9f1f68f17a pakfire: fix dep resolve at upgrade. 2015-05-16 12:57:28 +02:00
Michael Tremer
63efc01c84 pakfire: Prevent an infinite loop with empty server list. 2013-12-28 17:06:38 +01:00
Arne Fitzenreiter
2dd319f5b5 close core71. 2013-07-16 08:35:28 +02:00
Arne Fitzenreiter
fe3a05da3a pakfire: compression detection needs an extension. 2012-10-26 15:36:48 +02:00
Arne Fitzenreiter
03207e65b1 pakfire: enable compression autodetection inside the packages. 2012-10-26 09:56:31 +02:00
Arne Fitzenreiter
ace40c90ec pakfire: add function to extract backup includes.
this is needed to fix some addons with missing includes at the next
update. (eg. nagios).
2012-07-07 19:37:56 +02:00
Michael Tremer
7b321c2cbe Merge remote branch 'origin/next' into arm-port
Conflicts:
	config/rootfiles/common/i586/gcc
	lfs/binutils
	lfs/cleanup-toolchain
	lfs/coreutils
	lfs/gcc
	lfs/glibc
	lfs/groff
	src/pakfire/pakfire.conf
	src/patches/gcc-4.1.2-specs-1.patch
2011-09-18 02:58:34 +02:00
Michael Tremer
1e40ba2a0d pakfire: Automatically write version number to pakfire.conf. 2011-09-17 14:55:33 +02:00
Arne Fitzenreiter
b0dcbdeae4 core53: next is core53 now.
set version in backupiso and pakfire to 2.11.
2011-09-11 16:06:52 +02:00
Arne Fitzenreiter
ccbe39e94a Change pgp keyserver to pgp.ipfire.org so we can change it in the dns. 2011-02-07 19:56:39 +01:00
Arne Fitzenreiter
8cd7fc6b02 Set 2.9 as pakfire tree. 2010-12-06 00:28:05 +01:00
Christian Schmidt
4a97978091 Fixed pakfire error message - this fixes bug #0000688 2010-07-14 01:08:39 +02:00
Arne Fitzenreiter
879ad7fb60 Set pakfire to 2.7 trunk. 2010-05-15 21:04:40 +02:00
Arne Fitzenreiter
521a8b45e2 Fix permission change of existing directories at core updates. 2010-03-30 07:53:18 +02:00
Michael Tremer
4a0ce88c9b pakfire: Change pingtest to use icmp again. 2010-03-14 11:34:37 +01:00
Christian Schmidt
c0faa0efaf Fixed all those tar --preserve errors present. 2010-02-20 12:41:57 +01:00
Arne Fitzenreiter
ff9545f862 Pakfire: Update also the meta db at package list update.
This prevent using old dependencies at package update.
2009-11-02 16:18:10 +01:00
Jan Paul Tuecking
462a5e8678 Fixed core-update notification on index.cgi, it should not display any thing else then core-updates. 2009-10-11 18:13:33 +02:00
Jan Paul Tuecking
4638fd9259 Fixed function.sh - no notification if there are no updates. 2009-10-11 18:07:46 +02:00
Jan Paul Tuecking
2b38ab5c3a Added a notification to index.cgi when core-updates are available. 2009-09-14 17:59:50 +02:00
Arne Fitzenreiter
984e272326 Fix missing "}" in pakfire functions.pl. 2009-10-07 18:24:06 +02:00
Christian Schmidt
d59b02f177 Added option to disable ping check for mirrors. 2009-09-25 17:44:08 +02:00
Christian Schmidt
3a3c02eee7 Fixed pakfire sorting paks 2009-08-15 13:51:17 +02:00
Christian Schmidt
519f8431c0 Fixed bug, pakfire isntalls dependencies twice -> needs testing. 2009-08-14 13:38:44 +02:00
maniacikarus
373e13c20b This one should fix the pakfire problems, first install deps and then the pak 2009-06-09 22:23:05 +02:00
Arne Fitzenreiter
aba23e91dc Set Version to 2.5beta1 2009-04-22 19:17:22 +02:00
Arne Fitzennreiter
5e932bd569 Fix pakfire reinstall removed packs if an updated version was released 2008-10-27 22:48:28 +01:00
Maniacikarus
3f01107b12 Fixed pakfire installing upgrades twice 2008-09-13 22:01:20 +02:00
Arne Fitzenreiter
343262e683 BugFix: pakfire try to remove the files of the new pakage at update 2008-09-04 00:07:38 +02:00
Arne Fitzenreiter
e4e4b3f975 Add a increasing delay after a pingtest failure 2008-08-25 21:33:12 +02:00
Christian Schmidt
6b9f1b8884 New Version will be 2.3
Upgraded collectd
Tried to fix a bug when using usb cdrom for install
2008-06-14 11:54:51 +02:00
Michael Tremer
4ce3790866 Imported the beginning of the rowie-spezial and possible 2.2 release. 2008-05-17 23:58:21 +02:00
Christian Schmidt
d1d1cb4226 Fixed Pakfire updating coredb when using webif without beeing able to
check gpg -> massively logging errors to syslog
2008-05-02 15:33:32 +02:00
Christian Schmidt
28593a79c2 Changed the behaviour of the pakfire cgi
Tried to handle some known pakfire problems (time errors and zero metas)
2008-04-19 14:49:00 +02:00
Christian Schmidt
c506cad0de Changed pakfire logging facility to syslog and added to core12 2008-04-18 15:07:45 +02:00
maniacikarus
518f894b4a Fixed a pakfire bug preventing the fire to go from core 9 to 10
Corrected wromg smdb to smbd entry in collectd.conf


git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1268 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2008-03-14 10:03:50 +00:00
ms
a86255ef53 Update kernel config for nfs 3/4 support
Finalized core 4
Added language function to pakfire functions


git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1138 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2008-01-04 15:13:53 +00:00
maniacikarus
61a704394b started creation of the first update
changed release of samba and mpfire
fixed pakfire uninstall problem


git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1078 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-11-12 17:50:31 +00:00
ms
7c0736aae0 Jump to 2.1.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1061 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-11-04 19:42:17 +00:00
ms
b3f09dd8e6 Wrote a fetchmail init script.
Added some files to the iso needed by spamassassin.
Sample config for amavisd.
Fixed the error with empty dns and gateway when red is static.
Updated usb- and pci.ids.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1052 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-11-04 00:50:30 +00:00
ms
accc9c301b Let the script load the other acpi modules, too.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1050 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-11-03 15:01:57 +00:00
ms
6bb1416205 Typo in compilation commands of postfix.
Now it works together with cyrus sasl!


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1045 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-11-01 14:18:27 +00:00