Install a package manually -Debian [on hold]
up vote
-1
down vote
favorite
I am working on a customized Linux Debian (Debian 4.9.2-10) server.
I would like to install crontab, which is not installed in the system neither its letting me configure it using the apt or dpkg commands.
I have been given a hint to download the package in my desktop and which I extracted like this:
$ wget http://ftp.fr.debian.org/debian/pool/main/c/cron/cron_3.0pl1-127+deb8u1_amd64.deb
$ mkdir cron
$ dpkg -x cron_3.0pl1-127+deb8u1_amd64.deb ./cron
And then move the cron folder via SCP in the targeted server, which I have done and now the folder cron/ is at the home_folder of the server.
Now I would like to configure the cron/, how am I supposed to move forward to install the cron package now considering the apt/dpkg isn't working.
cron package-management debian-installer
New contributor
put on hold as unclear what you're asking by Ipor Sircer, Jeff Schaller, Jesse_b, GAD3R, Thomas Nov 16 at 5:53
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
|
show 1 more comment
up vote
-1
down vote
favorite
I am working on a customized Linux Debian (Debian 4.9.2-10) server.
I would like to install crontab, which is not installed in the system neither its letting me configure it using the apt or dpkg commands.
I have been given a hint to download the package in my desktop and which I extracted like this:
$ wget http://ftp.fr.debian.org/debian/pool/main/c/cron/cron_3.0pl1-127+deb8u1_amd64.deb
$ mkdir cron
$ dpkg -x cron_3.0pl1-127+deb8u1_amd64.deb ./cron
And then move the cron folder via SCP in the targeted server, which I have done and now the folder cron/ is at the home_folder of the server.
Now I would like to configure the cron/, how am I supposed to move forward to install the cron package now considering the apt/dpkg isn't working.
cron package-management debian-installer
New contributor
put on hold as unclear what you're asking by Ipor Sircer, Jeff Schaller, Jesse_b, GAD3R, Thomas Nov 16 at 5:53
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
It is disabled from the maintainer, he gave me a hint to manually install it: and now im in vain that what else or how to configure the crontab. I have everything on the server to configure the crontab, its just that I have to place the directories from cron folder to the specific folders manually.. below are the files in cron folder: etc, var, usr, lib
– Imrank
Nov 15 at 9:02
idk the reason that why its disabled by the maintainer but this is the situation I am in at the moment.. so do we have any way to configure it manually ?
– Imrank
Nov 15 at 9:11
ok.. so the only setup I had to done is to copy the cron folder's content to the "/" and thats it.
– Imrank
Nov 15 at 9:59
let me know how do i delete this post so that you all cannot be bothered.
– Imrank
Nov 15 at 9:59
this is what exactly what my question was that I didn't know there was any equivalent of: apt install cron as well.
– Imrank
Nov 15 at 10:05
|
show 1 more comment
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I am working on a customized Linux Debian (Debian 4.9.2-10) server.
I would like to install crontab, which is not installed in the system neither its letting me configure it using the apt or dpkg commands.
I have been given a hint to download the package in my desktop and which I extracted like this:
$ wget http://ftp.fr.debian.org/debian/pool/main/c/cron/cron_3.0pl1-127+deb8u1_amd64.deb
$ mkdir cron
$ dpkg -x cron_3.0pl1-127+deb8u1_amd64.deb ./cron
And then move the cron folder via SCP in the targeted server, which I have done and now the folder cron/ is at the home_folder of the server.
Now I would like to configure the cron/, how am I supposed to move forward to install the cron package now considering the apt/dpkg isn't working.
cron package-management debian-installer
New contributor
I am working on a customized Linux Debian (Debian 4.9.2-10) server.
I would like to install crontab, which is not installed in the system neither its letting me configure it using the apt or dpkg commands.
I have been given a hint to download the package in my desktop and which I extracted like this:
$ wget http://ftp.fr.debian.org/debian/pool/main/c/cron/cron_3.0pl1-127+deb8u1_amd64.deb
$ mkdir cron
$ dpkg -x cron_3.0pl1-127+deb8u1_amd64.deb ./cron
And then move the cron folder via SCP in the targeted server, which I have done and now the folder cron/ is at the home_folder of the server.
Now I would like to configure the cron/, how am I supposed to move forward to install the cron package now considering the apt/dpkg isn't working.
cron package-management debian-installer
cron package-management debian-installer
New contributor
New contributor
edited Nov 15 at 10:14
Stephen Kitt
157k23343416
157k23343416
New contributor
asked Nov 15 at 8:28
Imrank
1
1
New contributor
New contributor
put on hold as unclear what you're asking by Ipor Sircer, Jeff Schaller, Jesse_b, GAD3R, Thomas Nov 16 at 5:53
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as unclear what you're asking by Ipor Sircer, Jeff Schaller, Jesse_b, GAD3R, Thomas Nov 16 at 5:53
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
It is disabled from the maintainer, he gave me a hint to manually install it: and now im in vain that what else or how to configure the crontab. I have everything on the server to configure the crontab, its just that I have to place the directories from cron folder to the specific folders manually.. below are the files in cron folder: etc, var, usr, lib
– Imrank
Nov 15 at 9:02
idk the reason that why its disabled by the maintainer but this is the situation I am in at the moment.. so do we have any way to configure it manually ?
– Imrank
Nov 15 at 9:11
ok.. so the only setup I had to done is to copy the cron folder's content to the "/" and thats it.
– Imrank
Nov 15 at 9:59
let me know how do i delete this post so that you all cannot be bothered.
– Imrank
Nov 15 at 9:59
this is what exactly what my question was that I didn't know there was any equivalent of: apt install cron as well.
– Imrank
Nov 15 at 10:05
|
show 1 more comment
It is disabled from the maintainer, he gave me a hint to manually install it: and now im in vain that what else or how to configure the crontab. I have everything on the server to configure the crontab, its just that I have to place the directories from cron folder to the specific folders manually.. below are the files in cron folder: etc, var, usr, lib
– Imrank
Nov 15 at 9:02
idk the reason that why its disabled by the maintainer but this is the situation I am in at the moment.. so do we have any way to configure it manually ?
– Imrank
Nov 15 at 9:11
ok.. so the only setup I had to done is to copy the cron folder's content to the "/" and thats it.
– Imrank
Nov 15 at 9:59
let me know how do i delete this post so that you all cannot be bothered.
– Imrank
Nov 15 at 9:59
this is what exactly what my question was that I didn't know there was any equivalent of: apt install cron as well.
– Imrank
Nov 15 at 10:05
It is disabled from the maintainer, he gave me a hint to manually install it: and now im in vain that what else or how to configure the crontab. I have everything on the server to configure the crontab, its just that I have to place the directories from cron folder to the specific folders manually.. below are the files in cron folder: etc, var, usr, lib
– Imrank
Nov 15 at 9:02
It is disabled from the maintainer, he gave me a hint to manually install it: and now im in vain that what else or how to configure the crontab. I have everything on the server to configure the crontab, its just that I have to place the directories from cron folder to the specific folders manually.. below are the files in cron folder: etc, var, usr, lib
– Imrank
Nov 15 at 9:02
idk the reason that why its disabled by the maintainer but this is the situation I am in at the moment.. so do we have any way to configure it manually ?
– Imrank
Nov 15 at 9:11
idk the reason that why its disabled by the maintainer but this is the situation I am in at the moment.. so do we have any way to configure it manually ?
– Imrank
Nov 15 at 9:11
ok.. so the only setup I had to done is to copy the cron folder's content to the "/" and thats it.
– Imrank
Nov 15 at 9:59
ok.. so the only setup I had to done is to copy the cron folder's content to the "/" and thats it.
– Imrank
Nov 15 at 9:59
let me know how do i delete this post so that you all cannot be bothered.
– Imrank
Nov 15 at 9:59
let me know how do i delete this post so that you all cannot be bothered.
– Imrank
Nov 15 at 9:59
this is what exactly what my question was that I didn't know there was any equivalent of: apt install cron as well.
– Imrank
Nov 15 at 10:05
this is what exactly what my question was that I didn't know there was any equivalent of: apt install cron as well.
– Imrank
Nov 15 at 10:05
|
show 1 more comment
1 Answer
1
active
oldest
votes
up vote
0
down vote
I would like to install crontab, which is not installed in the system neither its letting me configure it using the apt or dpkg commands.
If apt
and dpkg
aren’t working, that should really be fixed — it will cause issues in the future.
Anyway, if you really want to install cron
manually, you need to replicate what dpkg
does when installing a package.
cd $TMP
wget http://ftp.fr.debian.org/debian/pool/main/c/cron/cron_3.0pl1-127+deb8u1_amd64.deb
dpkg -x cron_3.0pl1-127+deb8u1_amd64.deb cron-files
dpkg -e cron_3.0pl1-127+deb8u1_amd64.deb cron-control
will download the package and extract boths its contents and its control files. The next steps are to run the appropriate maintainer scripts and copy the contents to the right place; I’m assuming cron
isn’t already installed. As root:
cron-control/preinst install
cp -a cron-files/* /
cron-control/postinst configure
This ensures that the files are installed, and the package is configured.
The only missing step now is to let dpkg
know that the package is installed. That currently involves editing /var/lib/dpkg/status
, but since dpkg
isn’t working, I wouldn’t want to risk breaking it further.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I would like to install crontab, which is not installed in the system neither its letting me configure it using the apt or dpkg commands.
If apt
and dpkg
aren’t working, that should really be fixed — it will cause issues in the future.
Anyway, if you really want to install cron
manually, you need to replicate what dpkg
does when installing a package.
cd $TMP
wget http://ftp.fr.debian.org/debian/pool/main/c/cron/cron_3.0pl1-127+deb8u1_amd64.deb
dpkg -x cron_3.0pl1-127+deb8u1_amd64.deb cron-files
dpkg -e cron_3.0pl1-127+deb8u1_amd64.deb cron-control
will download the package and extract boths its contents and its control files. The next steps are to run the appropriate maintainer scripts and copy the contents to the right place; I’m assuming cron
isn’t already installed. As root:
cron-control/preinst install
cp -a cron-files/* /
cron-control/postinst configure
This ensures that the files are installed, and the package is configured.
The only missing step now is to let dpkg
know that the package is installed. That currently involves editing /var/lib/dpkg/status
, but since dpkg
isn’t working, I wouldn’t want to risk breaking it further.
add a comment |
up vote
0
down vote
I would like to install crontab, which is not installed in the system neither its letting me configure it using the apt or dpkg commands.
If apt
and dpkg
aren’t working, that should really be fixed — it will cause issues in the future.
Anyway, if you really want to install cron
manually, you need to replicate what dpkg
does when installing a package.
cd $TMP
wget http://ftp.fr.debian.org/debian/pool/main/c/cron/cron_3.0pl1-127+deb8u1_amd64.deb
dpkg -x cron_3.0pl1-127+deb8u1_amd64.deb cron-files
dpkg -e cron_3.0pl1-127+deb8u1_amd64.deb cron-control
will download the package and extract boths its contents and its control files. The next steps are to run the appropriate maintainer scripts and copy the contents to the right place; I’m assuming cron
isn’t already installed. As root:
cron-control/preinst install
cp -a cron-files/* /
cron-control/postinst configure
This ensures that the files are installed, and the package is configured.
The only missing step now is to let dpkg
know that the package is installed. That currently involves editing /var/lib/dpkg/status
, but since dpkg
isn’t working, I wouldn’t want to risk breaking it further.
add a comment |
up vote
0
down vote
up vote
0
down vote
I would like to install crontab, which is not installed in the system neither its letting me configure it using the apt or dpkg commands.
If apt
and dpkg
aren’t working, that should really be fixed — it will cause issues in the future.
Anyway, if you really want to install cron
manually, you need to replicate what dpkg
does when installing a package.
cd $TMP
wget http://ftp.fr.debian.org/debian/pool/main/c/cron/cron_3.0pl1-127+deb8u1_amd64.deb
dpkg -x cron_3.0pl1-127+deb8u1_amd64.deb cron-files
dpkg -e cron_3.0pl1-127+deb8u1_amd64.deb cron-control
will download the package and extract boths its contents and its control files. The next steps are to run the appropriate maintainer scripts and copy the contents to the right place; I’m assuming cron
isn’t already installed. As root:
cron-control/preinst install
cp -a cron-files/* /
cron-control/postinst configure
This ensures that the files are installed, and the package is configured.
The only missing step now is to let dpkg
know that the package is installed. That currently involves editing /var/lib/dpkg/status
, but since dpkg
isn’t working, I wouldn’t want to risk breaking it further.
I would like to install crontab, which is not installed in the system neither its letting me configure it using the apt or dpkg commands.
If apt
and dpkg
aren’t working, that should really be fixed — it will cause issues in the future.
Anyway, if you really want to install cron
manually, you need to replicate what dpkg
does when installing a package.
cd $TMP
wget http://ftp.fr.debian.org/debian/pool/main/c/cron/cron_3.0pl1-127+deb8u1_amd64.deb
dpkg -x cron_3.0pl1-127+deb8u1_amd64.deb cron-files
dpkg -e cron_3.0pl1-127+deb8u1_amd64.deb cron-control
will download the package and extract boths its contents and its control files. The next steps are to run the appropriate maintainer scripts and copy the contents to the right place; I’m assuming cron
isn’t already installed. As root:
cron-control/preinst install
cp -a cron-files/* /
cron-control/postinst configure
This ensures that the files are installed, and the package is configured.
The only missing step now is to let dpkg
know that the package is installed. That currently involves editing /var/lib/dpkg/status
, but since dpkg
isn’t working, I wouldn’t want to risk breaking it further.
answered Nov 15 at 10:22
Stephen Kitt
157k23343416
157k23343416
add a comment |
add a comment |
It is disabled from the maintainer, he gave me a hint to manually install it: and now im in vain that what else or how to configure the crontab. I have everything on the server to configure the crontab, its just that I have to place the directories from cron folder to the specific folders manually.. below are the files in cron folder: etc, var, usr, lib
– Imrank
Nov 15 at 9:02
idk the reason that why its disabled by the maintainer but this is the situation I am in at the moment.. so do we have any way to configure it manually ?
– Imrank
Nov 15 at 9:11
ok.. so the only setup I had to done is to copy the cron folder's content to the "/" and thats it.
– Imrank
Nov 15 at 9:59
let me know how do i delete this post so that you all cannot be bothered.
– Imrank
Nov 15 at 9:59
this is what exactly what my question was that I didn't know there was any equivalent of: apt install cron as well.
– Imrank
Nov 15 at 10:05