# Dpkg error 1 - ubuntu server

**URL:** <https://forums.plex.tv/t/dpkg-error-1-ubuntu-server/801738>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [July 23, 2022, 3:29am UTC](https://forums.plex.tv/t/dpkg-error-1-ubuntu-server/801738 "2022-07-23T03:29:57Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [July 24, 2022, 1:52pm UTC](https://forums.plex.tv/t/dpkg-error-1-ubuntu-server/801738/6 "2022-07-24T13:52:11Z")

</div>

Matt,  
The error is just above that.

> PlexMediaServer install: Systemd configuration error detected:  
> PlexMediaServer install: File “/etc/systemd/system/plexmediaserver.service” is leftover from an earlier Debian/Ubuntu bug.  
> PlexMediaServer install: Please transfer any customizations (APP\_DIR, User, Group, TMPDIR, and/or UMask) to a proper “/override.conf”  
> PlexMediaServer install: and reinstall.

You have the Unit Override file in /etc/systemd. I can’t support that because it conflicts with /lib/systemd/system/plexmediaserver.service.

What I do support is the official Service Override in /etc/systemd/system/plexmediaserver.service.d/override.conf

The installer message is telling you what to do – Take your customization variables and put them in a proper `override.conf` then delete the full unit override.

Details are here 🙂

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/3):
>
> Customizing your Plex configuration on systemd based systems This information is intended for those systems where cat /proc/1/comm returns systemd. On systems which use Systemd (Ubuntu 16+, Fedora, Centos 7, Debian 8,) you create this customization file which SystemD reads prior to launching PMS. This file is independent of the default configuration and service control mechanisms in /lib/systemd/system/plexmediaserver.service. Your customization override is preserved across updates, uninstal…

---

_[View the full topic](https://forums.plex.tv/t/dpkg-error-1-ubuntu-server/801738)._
